mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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:
parent
c61eea8e11
commit
c35938e180
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user