Last active
October 21, 2015 12:30
-
-
Save PiBa-NL/531373a49264aeb5dc3f to your computer and use it in GitHub Desktop.
Haproxy stand alone stats listen section
This file contains 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