We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47044a4 commit 53814d4Copy full SHA for 53814d4
1 file changed
src/ngx_http_lua_module.c
@@ -379,7 +379,7 @@ static ngx_command_t ngx_http_lua_cmds[] = {
379
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
380
|NGX_CONF_TAKE1,
381
ngx_http_lua_precontent_by_lua,
382
- NGX_HTTP_SRV_CONF_OFFSET,
+ NGX_HTTP_LOC_CONF_OFFSET,
383
0,
384
(void *) ngx_http_lua_precontent_handler_file },
385
0 commit comments