Update gzip_disable option to match best practice

Nginx recommend to use the string ``msie6`` instead of the previously recommended regex.

The string matches the same stuff as the regex, but is faster according to their docs.

See: http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_disable
This commit is contained in:
James Aitken 2012-10-24 19:03:54 +02:00
parent 5ccf155f5c
commit 0db6a7b393
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ http {
# a specific directory:
# gzip_static on;
gzip_disable "MSIE [1-6]\.";
gzip_disable "msie6";
gzip_vary on;
include sites-enabled/*;