From e222d3d2c8bf2e27760f0e9cb7c279a56984ab88 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 23 Oct 2014 11:05:42 +1100 Subject: [PATCH] FIX: add vary encoding to gzip responses this ensures CDNs work correctly see: http://blog.maxcdn.com/accept-encoding-its-vary-important/ --- config/nginx.sample.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 204451064..39a02ef63 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -29,6 +29,7 @@ server { listen 80; gzip on; + gzip_vary on; gzip_min_length 1000; gzip_comp_level 5; gzip_types application/json text/css application/x-javascript application/javascript;