1
0
mirror of https://github.com/simon987/ngx_http_js_challenge_module.git synced 2025-04-08 21:16:43 +00:00

Adding NGX_HTTP_LIF_CONF to js_challenge

This commit is contained in:
benchea dan 2022-11-07 09:24:10 +02:00 committed by GitHub
parent b1c85a625d
commit c7cb596964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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