lintian.d.o: Move svg compression to the resources directory
authorNiels Thykier <niels@thykier.net>
Tue, 13 Feb 2018 19:25:41 +0000 (19:25 +0000)
committerNiels Thykier <niels@thykier.net>
Tue, 13 Feb 2018 19:25:43 +0000 (19:25 +0000)
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 <niels@thykier.net>
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index c4b79c6..ec36a14 100644 (file)
                AddEncoding x-gzip .gz
                AddType text/plain .log
 
-               AddOutputFilterByType DEFLATE image/svg+xml
                AddOutputFilterByType DEFLATE text/plain
        </Directory>
 
                # 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
        </Directory>
 
        RewriteEngine on