From 4123400cfb6af0913782184fc169df990033b4df Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Mon, 23 Apr 2018 18:33:04 +0200 Subject: [PATCH] ansible-inventories/zehnder#749 Add more extensions to static content --- 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 24cd69c..e59e2b2 100644 --- a/templates/haproxy_cfg.jinja2 +++ b/templates/haproxy_cfg.jinja2 @@ -161,7 +161,7 @@ frontend http_in 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 + acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot acl static_content_private path_beg /system/ use_backend backend_varnish if static_content !static_content_private !domain_ignores_varnish {% endif %} @@ -289,7 +289,7 @@ frontend https_in_{{ cert.ip }} {% if varnish_host|default(false) %} 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 + acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot acl static_content_private path_beg /system/ use_backend backend_varnish if static_content !static_content_private !domain_ignores_varnish {% endif %} -- GitLab