mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03: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:
parent
a6753f767b
commit
cf3e491cef
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user