FIX: add vary encoding to gzip responses

this ensures CDNs work correctly see: http://blog.maxcdn.com/accept-encoding-its-vary-important/
This commit is contained in:
Sam 2014-10-23 11:05:42 +11:00
parent 5de43930e9
commit e222d3d2c8

View File

@ -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;