Modifying the request body

Maxim Dounin mdounin at mdounin.ru
Mon Jan 27 12:36:46 UTC 2014


Hello!

On Sun, Jan 26, 2014 at 08:55:18PM +0800, Rv Rv wrote:

> I have nginx deployed as a proxy server. The client sends a POST 
> request which needs to be modified before forwarding it to the 
> origin server. Is there any module / filter available in nginx. 
> The best I could find was a patch by Maxim as outlined 
> at http://mailman.nginx.org/pipermail/nginx-devel/2013-March/003492.html. 
> However, this appears to be incomplete. Please advise if there 
> is anything that can be used to achieve the modification
> Thanks

You may want to take a look at the proxy_set_body directive, see 
http://nginx.org/r/proxy_set_body.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list