mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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_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
|
||||
|
|
Loading…
Reference in New Issue
Block a user