Also gzip subtitles and svg files

This commit is contained in:
Felix 2020-02-15 17:35:31 +01:00
parent da3e988060
commit 338ec410bc
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD
# It might be nice to compress JSON, but leaving that out to protect against potential # It might be nice to compress JSON, but leaving that out to protect against potential
# compression+encryption information leak attacks like BREACH. # compression+encryption information leak attacks like BREACH.
gzip on; gzip on;
gzip_types text/css application/javascript; gzip_types text/css application/javascript text/vtt image/svg+xml;
gzip_vary on; gzip_vary on;
# Enable HSTS # Enable HSTS