mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 22:14:42 +00: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
@ -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 New Issue
Block a user