git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitcf3e491cefbf2544a4ca0bf4acfa0da26f009bcf authorVincent Bernat <vincent@bernat.ch> dateThu 12 Sep 2019, 15:25 (7 years ago) parenta6753f7
2 files changed−2
nixos/modules/services/web-apps/restya-board.nix−1 nixos/modules/services/web-servers/nginx/default.nix−1
nixos/modules/services/web-apps/restya-board.nix−1
@@ -216,7 +216,6 @@ in
216216 index index.html index.php;
217217
218218 gzip on;
219− gzip_disable "msie6";
220219
221220 gzip_comp_level 6;
222221 gzip_min_length 1100;
nixos/modules/services/web-servers/nginx/default.nix−1
@@ -94,7 +94,6 @@ let
9494
9595 ${optionalString (cfg.recommendedGzipSettings) ''
9696 gzip on;
97− gzip_disable "msie6";
9897 gzip_proxied any;
9998 gzip_comp_level 5;
10099 gzip_types