From 01f29e029419572a3bbe5378f5a449fbedd78e6c Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 13 Feb 2018 19:25:41 +0000 Subject: [PATCH] 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 --- .../templates/static-mirroring/vhost/static-vhosts-simple.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1