GZIP problem with backend hosts

Igor Sysoev is at rambler-co.ru
Fri Aug 29 12:55:18 MSD 2008

On Fri, Aug 29, 2008 at 09:41:42AM +0100, Alan Williamson wrote:

> no one got anything input here?
> seems to be a fairly big failing in NGINX here.  Why would it spend 
> extra time and resources decompressing outgoing content

nginx can not decompress proxied response.
In your case probably backend sends uncompressed response.

> Alan Williamson wrote:
> >Afternoon all.
> >
> >I first of all thought I had a problem with our backend hosts not 
> >sending GZIP content, but it appears NGINX is at fault.
> >
> >We use nginx infront of a lot of Amazon instances.  The backend 
> >instances, prepare the content in GZIP'd form.
> >
> >However nginx, is taking this content, and then decompressing it, and 
> >giving out the decompressed version back to the originating client!!
> >
> >I do not want nginx to do the compressing; the load can be better 
> >handled with the backend instances.  I just want nginx to proxy what its 
> >given and not do too much to the stream coming back.
> >
> >Advice please?

Igor Sysoev

More information about the nginx mailing list