Welcome! Log In Create A New Profile

Advanced

Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

Rv Rv
January 20, 2014 08:42AM
Hello
Is there a way we can achieve the following when nginx is acting as a reverse proxy
1. Client sends HTTP request with Accept-Encoding as gzip
2. Nginx proxy forwards the request with the request header intact
3. Origin server sends a compressed response
4. At the nginx proxy, we *decompress* the response, apply transformations on the response body and then *again* compress it
In other words, is there a way to use the functionality of gzip and gunzip modules simultaneously for a processing a response and in a particular order_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

Rv Rv January 20, 2014 08:42AM

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

Maxim Dounin January 20, 2014 08:50AM

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

Makailol Charls January 20, 2014 09:36AM

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

Jonathan Matthews January 20, 2014 09:52AM

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

B.R. January 20, 2014 12:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
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