mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue