mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
apache: Serve SVG files compressed using gzip
- SVG is not one of the formats for which compress is turned on automatically by Apache configuration. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c61eea8e11
commit
c35938e180
1 file changed
+7
@@ -21,3 +21,10 @@ RedirectMatch "^/freedombox" "/plinth"
|
||||
RewriteRule /favicon\.ico$ "/plinth/static/theme/img/favicon.ico" [PT]
|
||||
</IfModule>
|
||||
</Location>
|
||||
|
||||
##
|
||||
## Serve SVG files compressed using gzip.
|
||||
##
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE image/svg+xml
|
||||
</IfModule>
|
||||
Reference in new issue
Block a user