Gzip proxy query

Hi
If ‘gzip off;’ on front-end but a proxy_pass to backend gives a gzipped
response, will the front-end decompress it before proxy to client?

Cheers
Richard

Hello!

On Tue, Dec 17, 2013 at 12:58:43PM +0000, Richard K. wrote:

Hi
If ‘gzip off;’ on front-end but a proxy_pass to backend gives a gzipped
response, will the front-end decompress it before proxy to client?

No.

But if you want nginx to decompress responses, there is gunzip
module which can do it for you.

http://nginx.org/en/docs/http/ngx_http_gunzip_module.html


Maxim D.
http://nginx.org/

On 17/12/13 13:04, Maxim D. wrote:

module which can do it for you.

http://nginx.org/en/docs/http/ngx_http_gunzip_module.html

Many thanks
The behaviour that I want is to keep it compressed so im happy :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs