mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
also compress css and svg files
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
0097abaed0
commit
cbba4cc2e6
2 changed files with 3 additions and 3 deletions
|
|
@ -11,9 +11,9 @@ Listen 8000
|
|||
SetHandler "proxy:fcgi://${NEXTCLOUD_HOST}:9000"
|
||||
</FilesMatch>
|
||||
|
||||
# Enable Brotli compression for js files
|
||||
# Enable Brotli compression for js, css and svg files - other plain files are compressed by Nextcloud by default
|
||||
<IfModule mod_brotli.c>
|
||||
AddOutputFilterByType BROTLI_COMPRESS text/javascript application/javascript application/x-javascript
|
||||
AddOutputFilterByType BROTLI_COMPRESS text/javascript application/javascript application/x-javascript text/css image/svg+xml
|
||||
BrotliCompressionQuality 0
|
||||
</IfModule>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue