PERF: Add text/javascript to NGINX gzip_types

This commit is contained in:
David Taylor 2019-02-07 23:47:42 +00:00 committed by GitHub
parent 995c87a91e
commit 56820a5fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ server {
gzip_vary on;
gzip_min_length 1000;
gzip_comp_level 5;
gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml;
gzip_types application/json text/css text/javascript application/x-javascript application/javascript image/svg+xml;
gzip_proxied any;
# Uncomment and configure this section for HTTPS support