Get request_body in set_by_lua directive

rishabh nginx-forum at
Thu Mar 15 10:59:39 UTC 2012

I wont to parse the request_body in a lua script file but am unable to
access the request_body in set_by_lua_file directive. Is there any way
to access the headers/cookies/get/post ?

my conf structure is like

  server {
    set_by_lua_file $myContent myFile.lua;

    location @abcd {


Posted at Nginx Forum:,223876,223876#msg-223876

More information about the nginx mailing list