From 9f5c32de6a9a2d2bfd8d17b72094af430003ac24 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 3 Aug 2021 09:00:37 +0200 Subject: [PATCH] ansible-inventories/gentner#2402 Add more extensions to be handled by Varnish --- templates/haproxy_cfg.jinja2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/haproxy_cfg.jinja2 b/templates/haproxy_cfg.jinja2 index ed241ba..bd7ecac 100644 --- a/templates/haproxy_cfg.jinja2 +++ b/templates/haproxy_cfg.jinja2 @@ -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 -- GitLab