Modifying the request body

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
athttp://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

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
athttp://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 D.
http://nginx.org/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs