haiku-atelier-2024/containers/conf/angie/snippets/lua.conf-example
2025-11-04 13:27:49 +01:00

10 lines
237 B
Text
Executable file

# When using openresty's lua, you have to include this in your http {} block
lua_package_path "/usr/share/lua/5.1/?.lua;;";
init_by_lua_block {
require "resty.core"
collectgarbage("collect") -- just to collect any garbage
}