Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 799 Bytes

init_worker_by_lua_file.md

File metadata and controls

31 lines (17 loc) · 799 Bytes

init_worker_by_lua_file

语法: init_worker_by_lua_file <lua-file-path>

环境: http

阶段: starting-worker

init_worker_by_lua等价,通过<lua-file-path>指定的Lua 或 Lua/LuaJIT 字节码文件来执行。

该指令是在v0.9.5发行版第一次引入。

返回目录

English source:

init_worker_by_lua_file

syntax: init_worker_by_lua_file <lua-file-path>

context: http

phase: starting-worker

Similar to init_worker_by_lua, but accepts the file path to a Lua source file or Lua bytecode file.

This directive was first introduced in the v0.9.5 release.

Back to TOC