Welcome! Log In Create A New Profile

Advanced

Re: Nginx reverse proxy gzip for json payload

Francis Daly
May 27, 2022 06:26AM
On Fri, May 27, 2022 at 05:31:10AM -0400, blason wrote:

Hi there,

note that you have the request from the client to nginx, the request
from nginx to the upstream, the response from upstream to nginx, and
the response from nginx to the client.

"gzip" and friends deal with the response from nginx to the client.

http://nginx.org/r/gzip, http://nginx.org/r/gzip_types (which redirect
to different parts of the same page).

(I'm pretty sure that) nginx does not have an option to compress the
request from nginx to upstream.

If that is the thing that you want to do, you will need another
plan. (Possibly involving lua or one of the other embeddable languages.)

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Nginx reverse proxy gzip for json payload

blason May 25, 2022 01:43PM

Re: Nginx reverse proxy gzip for json payload

Sergey A. Osokin May 26, 2022 12:50PM

Re: Nginx reverse proxy gzip for json payload

blason May 27, 2022 05:31AM

Re: Nginx reverse proxy gzip for json payload

Francis Daly May 27, 2022 06:26AM

Re: Nginx reverse proxy gzip for json payload

blason May 28, 2022 07:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready