Merge pull request #23 from bnchdan/NGX_HTTP_LIF_CONF

Update ngx_http_js_challenge.c
This commit is contained in:
2022-11-22 08:48:56 -05:00
committed by GitHub

View File

@@ -50,7 +50,7 @@ static ngx_command_t ngx_http_js_challenge_commands[] = {
{ {
ngx_string("js_challenge"), ngx_string("js_challenge"),
NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_HTTP_SIF_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_FLAG,, NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_HTTP_SIF_CONF | NGX_HTTP_SRV_CONF | NGX_CONF_FLAG,
ngx_conf_set_flag_slot, ngx_conf_set_flag_slot,
NGX_HTTP_LOC_CONF_OFFSET, NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_js_challenge_loc_conf_t, enabled), offsetof(ngx_http_js_challenge_loc_conf_t, enabled),