Skip to content

Instantly share code, notes, and snippets.

@double-p
Created April 18, 2019 13:02
Show Gist options
  • Save double-p/a4d7970c1513864fe244fb8f0960f132 to your computer and use it in GitHub Desktop.
Save double-p/a4d7970c1513864fe244fb8f0960f132 to your computer and use it in GitHub Desktop.
acl good_ip src -f /etc/haproxy/ips.lst
http-request allow if good_ip
http-request deny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment