Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Process request body for POST before sending on to upstream.

$
0
0
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?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>