Skip to content

Commit 15eb492

Browse files
authoredJul 17, 2017
nginx: add gzip_vary to recommended settings
Google PageSpeed recommends turning this on to allow proxies to cache
1 parent 42cdad0 commit 15eb492

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎nixos/modules/services/web-servers/nginx/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ let
6565
gzip_proxied any;
6666
gzip_comp_level 9;
6767
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
68+
gzip_vary on;
6869
''}
6970
7071
${optionalString (cfg.recommendedProxySettings) ''

0 commit comments

Comments
 (0)
Please sign in to comment.