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 <alan.orth@gmail.com>
This commit is contained in:
2015-03-09 10:21:34 +03:00
parent bb92bd080d
commit 066bf6fa85

View File

@ -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;