diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg index 051a768d084b1f2613a0a5c3f93e955c620d8545..a500d1742a0a8f100d1040c567f94bfaab4479dd 100644 --- a/templates/haproxy_cfg +++ b/templates/haproxy_cfg @@ -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