nginx to nginx proxy header problem.

Jauder Ho lists at
Sat Mar 7 22:44:14 MSK 2009

The Nginx wiki states that gzip and gzip_vary can be set within a 
location directive. However, it does not appear to be working for me. 
Setting it within a server directive does work.

So is the wiki or code incorrect?


Igor Sysoev wrote:

> You should set
>   gzip       on;
>   gzip_vary  [on|off];
> only on one nginx. On other you should just set
>   gzip       off;
> Setting gzip_vary to "on" or "off" depends whether you want to add
> the "Veryi: Accept-Encoding" header.

Posted via

More information about the nginx mailing list