Only use a 5 gzip

This commit is contained in:
mmcwilliams 2017-08-29 07:35:23 -04:00
parent 1c53af9215
commit 399b623db4
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
gzip on;
gzip_comp_level 9;
gzip_comp_level 5;
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
}
#uncomment for static file servers
@ -40,7 +40,7 @@ server {
#access_log off;
#add_header Cache-Control "public";
#gzip on;
#gzip_comp_level 9;
#gzip_comp_level 5;
#gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
#alias /var/node/blootstrap/static/;
#}