Merge pull request #45659 from vincentbernat/fix/nginx-gzip

Small nginx tweaks
This commit is contained in:
Jörg Thalheim 2018-08-28 09:35:58 +01:00 committed by GitHub
commit 6a0a12a921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,18 @@ let
gzip on;
gzip_disable "msie6";
gzip_proxied any;
gzip_comp_level 9;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
gzip_comp_level 5;
gzip_types
application/atom+xml
application/javascript
application/json
application/xml
application/xml+rss
image/svg+xml
text/css
text/javascript
text/plain
text/xml;
gzip_vary on;
''}