mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
nginx: add gzip_vary to recommended settings
Google PageSpeed recommends turning this on to allow proxies to cache
This commit is contained in:
parent
04c944cdb4
commit
c4783a982b
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ let
|
|||
gzip_proxied any;
|
||||
gzip_comp_level 9;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_vary on;
|
||||
''}
|
||||
|
||||
${optionalString (cfg.recommendedProxySettings) ''
|
||||
|
|
Loading…
Reference in a new issue