Also gzip subtitles and svg files
This commit is contained in:
parent
da3e988060
commit
338ec410bc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue