From: Niels Thykier Date: Tue, 13 Feb 2018 19:25:41 +0000 (+0000) Subject: lintian.d.o: Move svg compression to the resources directory X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=01f29e029419572a3bbe5378f5a449fbedd78e6c;p=mirror%2Fdsa-puppet.git lintian.d.o: Move svg compression to the resources directory It does not appear to propogate on its own, so move it from the root to the "resources" directory section. There are no SVG images outside that directory anyway. Signed-off-by: Niels Thykier --- diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index c4b79c6e0..ec36a14df 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -126,7 +126,6 @@ AddEncoding x-gzip .gz AddType text/plain .log - AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE text/plain @@ -134,6 +133,7 @@ # Cache these for a year (3600 * 24 * 365.25) # Files in here will change name if their content change Header set Cache-Control "max-age=31557600, public" + AddOutputFilterByType DEFLATE image/svg+xml RewriteEngine on