Hi, On Fri, Jun 30, Kaushal Shriyan wrote: > Is there a way to restrict HAProxy stats page to a specific IP? > > For example i want to restrict *http://IP:1936/haproxy-stats > <http://IP:1936/haproxy-stats>* to my office address only
Can you try something like this: listen stats_frontend bind *:1936 mode http stats enable stats uri /haproxy-stats # other stats options you want for example stats auth / stats realm # http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-stats%20auth acl office_addr src your.ip.add.ress #or your.ip.add.ress/mask etc. acl stats_path path_beg /haproxy-stats http-request deny if stats_path !office_addr -Jarno -- Jarno Huuskonen

