nginx to nginx proxy header problem.

Jauder Ho lists at ruby-forum.com
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.

http://wiki.codemongers.com/NginxHttpGzipModule#gzip_vary

So is the wiki or code incorrect?

--Jauder


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 http://www.ruby-forum.com/.





More information about the nginx mailing list