gzip compression for upstream requests

Dmitry Vereschaka dmitry at xdmitry.ru
Thu Oct 10 15:30:03 UTC 2019


Thank you!

On Thu, Oct 10, 2019 at 6:05 PM Maxim Dounin <mdounin at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20191010/91ccfec0/attachment.htm>


More information about the nginx mailing list