From cf3e491cefbf2544a4ca0bf4acfa0da26f009bcf Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 12 Sep 2019 15:25:24 +0200 Subject: [PATCH] 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. --- nixos/modules/services/web-apps/restya-board.nix | 1 - nixos/modules/services/web-servers/nginx/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/nixos/modules/services/web-apps/restya-board.nix b/nixos/modules/services/web-apps/restya-board.nix index f220669c910..1e7882488ac 100644 --- a/nixos/modules/services/web-apps/restya-board.nix +++ b/nixos/modules/services/web-apps/restya-board.nix @@ -216,7 +216,6 @@ in index index.html index.php; gzip on; - gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1100; diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index b94b338fd4a..e597f34700a 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -94,7 +94,6 @@ let ${optionalString (cfg.recommendedGzipSettings) '' gzip on; - gzip_disable "msie6"; gzip_proxied any; gzip_comp_level 5; gzip_types