Skip to content

Commit

Permalink
gzip javascript correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeraar committed Aug 29, 2018
1 parent e8ad968 commit a36c6af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nginx/1.14.0/files/scripts/run.sh
Expand Up @@ -24,8 +24,10 @@ http {
keepalive_timeout 20;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss image/svg+xml image/x-icon;
gzip_vary on;
gzip_min_length 10240;
gzip_proxied any;
gzip_types application/atom+xml application/javascript application/json application/x-javascript application/rdf+xml application/rss+xml application/xml text/css text/html text/javascript text/plain text/xml;
client_max_body_size 20M;
large_client_header_buffers 4 32k;
Expand Down

0 comments on commit a36c6af

Please sign in to comment.