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:
parent
5de43930e9
commit
e222d3d2c8
|
@ -29,6 +29,7 @@ server {
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
gzip_vary on;
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
gzip_comp_level 5;
|
gzip_comp_level 5;
|
||||||
gzip_types application/json text/css application/x-javascript application/javascript;
|
gzip_types application/json text/css application/x-javascript application/javascript;
|
||||||
|
|
Loading…
Reference in New Issue