Skip to content
Snippets Groups Projects
Commit d677ff36 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#163 Configure HaProxy and Varnish to also handle BAN requests on port 80

parent 0d1b2f91
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,8 @@ frontend http_in
{% if varnish_host|default(false) %}
acl is_purge method PURGE
use_backend backend_varnish if is_purge
acl is_ban method BAN
use_backend backend_varnish if is_ban
acl domain_ignores_varnish hdr(host) -i -n -f /etc/haproxy/ignore_varnish.list
use_backend backend_varnish_bigpipe if domain_uses_bigpipe !domain_ignores_varnish
acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment