atom feed6 messages in ru.sysoev.nginxRe: Get request_body in set_by_lua di...
FromSent OnAttachments
rishabhMar 15, 2012 3:58 am 
agentzhMar 15, 2012 7:29 pm 
rishabhMar 19, 2012 3:02 am 
agentzhMar 19, 2012 3:50 am 
maanasApr 28, 2013 12:12 pm 
agentzhApr 28, 2013 8:08 pm 
Subject:Re: Get request_body in set_by_lua directive
From:rishabh (ngin@nginx.us)
Date:Mar 19, 2012 3:02:20 am
List:ru.sysoev.nginx

thanks have figured it out.

Another concern is, Say the processing time of LUA file is 10 seconds and the request completes in 4 seconds. So will the total time NGINX take will be 10 secs or 14 secs ?

Here is how i have structured my conf

http {

server {

location / { proxy_pass http://upstream123; post_action @loglua; }

location @loglua { set $log ''; rewrite_by_lua_file /nginx/mylua.lua; logformat format1 '$log'; access_log /var/log/nginx/newlog.log format1; } } }

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