Welcome! Log In Create A New Profile

Advanced

Re: gzip compression for upstream requests

October 10, 2019 11:32AM
Thank you!

On Thu, Oct 10, 2019 at 6:05 PM Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Thu, Oct 10, 2019 at 05:12:40PM +0300, Dmitry Vereschaka wrote:
>
> > Does nginx support compression of proxied upstream requests (not
> > responses)?
>
> No.
>
> > I have configuration below and what I see is that responses are sent
>
> Just a side note: you probably mean "requests" here.
>

Yes, thank you!


>
> > uncompressed to upstream server (and I'm getting compressed responses
> from
> > upstream, as upstream is also nginx with gzip compression enabled).
>
> Quoting documentation of the gzip directive
> (http://nginx.org/r/gzip):
>
> : Enables or disables gzipping of responses.
>
> Similar wording can be found in the module description above.
> It's about responses, not requests.
>
> [...]
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

gzip compression for upstream requests

xdmitry October 10, 2019 10:14AM

Re: gzip compression for upstream requests

Maxim Dounin October 10, 2019 11:06AM

Re: gzip compression for upstream requests

xdmitry October 10, 2019 11:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready