Skip to content

Instantly share code, notes, and snippets.

@intinig
Created January 20, 2015 10:15
Show Gist options
  • Save intinig/61c790f289afcdb074d1 to your computer and use it in GitHub Desktop.
Save intinig/61c790f289afcdb074d1 to your computer and use it in GitHub Desktop.
frontend main
bind /var/run/rgts.sock mode 777
default_backend rgts
acl whitelist src 93.51.152.124 127.0.0.1 10.211.55.1
acl stats path_beg /hstats
block if stats !whitelist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment