mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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;
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_min_length 1000;
|
||||
gzip_comp_level 5;
|
||||
gzip_types application/json text/css application/x-javascript application/javascript;
|
||||
|
|
Loading…
Reference in New Issue
Block a user