Welcome! Log In Create A New Profile

Advanced

Process request body for POST before sending on to upstream.

Posted by hotsoft 
Process request body for POST before sending on to upstream.
March 12, 2015 09:08AM
I'm using NGINX as a proxy to another webserver. I have managed to write a filter module to allow me to fiddle with the buffer returned from a GET request before returning it to the user, but I also want to work the other way too. What is the best way to get access to the buffer of a POST request so that I can modify it before it then gets sent on to the upstream server?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready