From 399b623db49959d094f66620e0546840412439b6 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 29 Aug 2017 07:35:23 -0400 Subject: [PATCH] Only use a 5 gzip --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index a89f37d..0d6c299 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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/; #}