gzip_proxied question

Maxim Dounin mdounin at mdounin.ru
Fri Mar 5 04:31:06 MSK 2010


Hello!

On Thu, Mar 04, 2010 at 06:04:18PM -0500, bryndole wrote:

> I'm new to nginx. After setting up a reverse proxy and reading 
> the documentation I am still left baffled over what the 
> gzip_proxied option does.
> 
> http://wiki.nginx.org/NginxHttpGzipModule#gzip_proxied

[...]

> Not sure what the "Via" request header is. 

http://tools.ietf.org/html/rfc2616#section-14.45

> Can someone explain (in English please!) what this option does? 
> My hunch (hope) is that it may enable pass through for gzip'd 
> responses from the backend? Am I close?

No.

As long as client request was identified as one came from proxy 
server ("Via" header present) nginx is able to disable or enable 
it's own gzip depending on various conditions.  These conditions 
are controlled via gzip_proxied directive.

Maxim Dounin



More information about the nginx mailing list