You can be very simple to execute lua code for nginx
C Lua
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
src
README
config

README

-- example:

    lua_file "/usr/local/nginx/conf/test.lua";

    location ~/test {
        lua_file "/usr/local/nginx/conf/test.lua";
    }