Skip to content

Instantly share code, notes, and snippets.

@ashraf-s9s
Created July 28, 2016 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashraf-s9s/d64f13d108f20ea770c03e66e58e1664 to your computer and use it in GitHub Desktop.
Save ashraf-s9s/d64f13d108f20ea770c03e66e58e1664 to your computer and use it in GitHub Desktop.
userlist STATSUSERS
group admin users admin
user admin insecure-password admin
user stats insecure-password yourpassword
listen admin_page 0.0.0.0:9600
mode http
stats enable
stats refresh 60s
stats uri /
acl AuthOkay_ReadOnly http_auth(STATSUSERS)
acl AuthOkay_Admin http_auth_group(STATSUSERS) admin
stats http-request auth realm admin_page unless AuthOkay_ReadOnly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment