1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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;
gzip on;
gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1100;

View file

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