title: Enable stats uri page in HAProxy tcp mode
body: <p>Below is my haxproxy configuration. I am trying to enable stats page so that I can see the status of the servers. But after validating the file, getting a warning message as below and stats page is not shown after hitting the configured uri.</p>
  <p><strong>'stats' statement ignored for frontend 'http-in' as it requires HTTP mode</strong></p>
  <p>I am using haproxy version 1.8.x.</p>
  <pre><code>global
     log /dev/log local0
     log /dev/log local1 notice
     user haproxy
     group haproxy
     daemon
  
  defaults
     log  global
     mode tcp
     option   tcplog
     timeout connect 120s
     timeout client  300s
     timeout server  180s
  
  frontend http-in        
       bind *:443
       stats enable
       stats refresh 10s
       stats uri /haproxy?stats
       default_backend servers
  
  
  backend servers
      
       balance    roundrobin
       server sec-server1 192.68.29.230:8080 check
       server sec-server2 192.68.29.229:8080 check
  </code></pre>
  <p>Please assist. can we not see the stats page in tcp mode?</p>