Modify request body before sending to upstream

mex nginx-forum at nginx.us
Tue Jan 27 06:10:55 UTC 2015


Hi Abhishek,


i'm not 100% sure to understand exactrly what you'd like to do, 
especially the request-body-manipulation-part.

nginx_lua is usually quite handy when you have the need
to manipulate a request: http://wiki.nginx.org/HttpLuaModule#access_by_lua
you can jump into the acces- or rewrite-phase, make your processing and 
pass the result to your upstream-servers using proxy_pass and all the
upstream {} - goodies


cheers,

mex

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256226,256282#msg-256282



More information about the nginx mailing list