Enable haproxy stats page
I used the following config values with tthe HAProxy 1.7 docker image to enable the statistics page.
This will bind to port 2016 on your host and will reqest the username and password specified.
listen stats
bind :2016
stats enable
stats hide-version
stats realm Haproxy
stats uri /ha-stats
stats auth admin:password
This will bind to port 2016 on your host and will reqest the username and password specified.
Comments
Post a Comment