Hello!
On Sun, Apr 27, 2014 at 9:14 PM, Elvis Deng wrote:
> I want to modify a POST value in Nginx and then put it back (don’t change
> its original data flow).
> Does any existing module do the similar work?
>
You can use the ngx_lua module for this:
https://github.com/openresty/lua-nginx-module#readme
Basically you'll find the ngx.req.get_body_data() and
ngx.req.set_body_data() handy :)
Regards,
-agentzh