PERF: Add text/javascript to NGINX gzip_types
This commit is contained in:
parent
995c87a91e
commit
56820a5fa5
|
@ -39,7 +39,7 @@ server {
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
gzip_comp_level 5;
|
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;
|
gzip_proxied any;
|
||||||
|
|
||||||
# Uncomment and configure this section for HTTPS support
|
# Uncomment and configure this section for HTTPS support
|
||||||
|
|
Loading…
Reference in New Issue