nginx: add gzip_vary to recommended settings

Google PageSpeed recommends turning this on to allow proxies to cache
This commit is contained in:
Wout Mertens 2017-07-17 15:12:07 +02:00 committed by Robin Gloster
parent 04c944cdb4
commit c4783a982b

View file

@ -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) ''