Skip to content

Instantly share code, notes, and snippets.

@PiBa-NL
Last active October 21, 2015 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PiBa-NL/531373a49264aeb5dc3f to your computer and use it in GitHub Desktop.
Save PiBa-NL/531373a49264aeb5dc3f to your computer and use it in GitHub Desktop.
Haproxy stand alone stats listen section
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