2025-11-04
This commit is contained in:
parent
e4eaf6404a
commit
66397de267
101 changed files with 2573 additions and 58 deletions
10
containers/conf/angie/snippets/lua.conf-example
Executable file
10
containers/conf/angie/snippets/lua.conf-example
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
# 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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue