-
-
Save murarisumit/45fae1d1c21c1afa386e to your computer and use it in GitHub Desktop.
Haproxy stand alone stats listen section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listen MyStats | |
mode http | |
bind 0.0.0.0:1000 | |
stats enable | |
stats uri / | |
# if authentication is wanted | |
acl auth_ok http_auth(stats-auth) | |
http-request auth unless auth_ok | |
userlist stats-auth | |
user admin insecure-password pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment