Modifying the request body

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


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 
> 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

Maxim Dounin

More information about the nginx mailing list