Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.06 KB

rewrite_by_lua_no_postpone.md

File metadata and controls

31 lines (17 loc) · 1.06 KB

rewrite_by_lua_no_postpone

语法: rewrite_by_lua_no_postpone on|off

默认: rewrite_by_lua_no_postpone off

环境: http

控制是否禁用rewrite_by_luarewrite_by_lua_file 指令在rewrite阶段的延迟执行。该指令的默认值是 off ,在rewrite阶段的 Lua 代码将被延迟到最后执行。

该指令是在v0.5.0rc29版本首次引入的。

返回目录

English source:

rewrite_by_lua_no_postpone

syntax: rewrite_by_lua_no_postpone on|off

default: rewrite_by_lua_no_postpone off

context: http

Controls whether or not to disable postponing rewrite_by_lua and rewrite_by_lua_file directives to run at the end of the rewrite request-processing phase. By default, this directive is turned off and the Lua code is postponed to run at the end of the rewrite phase.

This directive was first introduced in the v0.5.0rc29 release.

Back to TOC