Update ngx_http_js_challenge.c

This commit is contained in:
benchea dan
2022-11-22 14:11:43 +02:00
committed by GitHub
parent 1ae101f1af
commit 902c3c2293

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),