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

ansible-inventories/gentner#2402 Add more extensions to be handled by Varnish

parent 4cff93d9
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ frontend http_in
acl is_urimban method URIMBAN
use_backend backend_varnish if is_urimban
acl domain_ignores_varnish hdr(host) -i -n -f /etc/haproxy/ignore_varnish.list
acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot
acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot .bmp .webp .tiff
acl static_content_private path_beg /system/
use_backend backend_varnish_bigpipe if static_content !static_content_private domain_uses_bigpipe !domain_ignores_varnish !request_ignores_varnish
use_backend backend_varnish if static_content !static_content_private !domain_ignores_varnish !request_ignores_varnish
......@@ -324,7 +324,7 @@ frontend https_in_{{ cert.ip }}
{% if varnish_host|default(false) %}
acl request_ignores_varnish hdr(x-varnish-ignore) -m found
acl domain_ignores_varnish hdr(host) -i -n -f /etc/haproxy/ignore_varnish.list
acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot
acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot .bmp .webp .tiff
acl static_content_private path_beg /system/
use_backend backend_varnish_bigpipe if static_content !static_content_private domain_uses_bigpipe !domain_ignores_varnish !request_ignores_varnish
use_backend backend_varnish if static_content !static_content_private !domain_ignores_varnish !request_ignores_varnish
......
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