nginx: remove gzip_disable directive

IE6 is long gone and this directive is not useful anymore. We can
spare a few CPU cycles (and maybe skip some bugs) by not trying to
disable gzip for MSIE6.
This commit is contained in:
Vincent Bernat 2019-09-12 15:25:24 +02:00 committed by Austin Seipp
parent a6753f767b
commit cf3e491cef
2 changed files with 0 additions and 2 deletions

View File

@ -216,7 +216,6 @@ in
index index.html index.php; index index.html index.php;
gzip on; gzip on;
gzip_disable "msie6";
gzip_comp_level 6; gzip_comp_level 6;
gzip_min_length 1100; gzip_min_length 1100;

View File

@ -94,7 +94,6 @@ let
${optionalString (cfg.recommendedGzipSettings) '' ${optionalString (cfg.recommendedGzipSettings) ''
gzip on; gzip on;
gzip_disable "msie6";
gzip_proxied any; gzip_proxied any;
gzip_comp_level 5; gzip_comp_level 5;
gzip_types gzip_types