Skip to content

Commit 53814d4

Browse files
committed
fix: update directive
1 parent 47044a4 commit 53814d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ngx_http_lua_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static ngx_command_t ngx_http_lua_cmds[] = {
379379
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
380380
|NGX_CONF_TAKE1,
381381
ngx_http_lua_precontent_by_lua,
382-
NGX_HTTP_SRV_CONF_OFFSET,
382+
NGX_HTTP_LOC_CONF_OFFSET,
383383
0,
384384
(void *) ngx_http_lua_precontent_handler_file },
385385

0 commit comments

Comments
 (0)