We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9968b commit 6789886Copy full SHA for 6789886
src/ngx_http_lua_module.c
@@ -230,10 +230,10 @@ static ngx_command_t ngx_http_lua_cmds[] = {
230
(void *) ngx_http_lua_init_worker_by_file },
231
232
#if defined(NDK) && NDK
233
- /* set_by_lua $res { inline Lua code } [$arg1 [$arg2 [...]]] */
+ /* set_by_lua_block $res { inline Lua code } */
234
{ ngx_string("set_by_lua_block"),
235
NGX_HTTP_SRV_CONF|NGX_HTTP_SIF_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
236
- |NGX_CONF_1MORE|NGX_CONF_BLOCK,
+ |NGX_CONF_TAKE1|NGX_CONF_BLOCK,
237
ngx_http_lua_set_by_lua_block,
238
NGX_HTTP_LOC_CONF_OFFSET,
239
0,
0 commit comments