Lua's package path in nginx
snippet in lua

Lua's package path in nginx

user1905

http {
    #the scripts in lua/ need to refer to each other
    #but the server runs in lua/..

    lua_package_path "./lua/?.lua;;";

    ...
}