From 066bf6fa859ff670a81aab464ef09315771154e9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 9 Mar 2015 10:21:34 +0300 Subject: [PATCH] roles/nginx: Set gzip_comp_level to 6 Seems to be the sweet spot, as gzip itself defaults to this. Signed-off-by: Alan Orth --- roles/nginx/files/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nginx/files/nginx.conf b/roles/nginx/files/nginx.conf index 35a1061..6f38561 100644 --- a/roles/nginx/files/nginx.conf +++ b/roles/nginx/files/nginx.conf @@ -30,6 +30,7 @@ http { gzip on; gzip_vary on; + gzip_comp_level 6; gzip_min_length 860; gzip_disable "msie6"; gzip_http_version 1.1;