| Current Path : /opt/nginxhttpd_/etc/openresty_config/custom_security/ |
| Current File : //opt/nginxhttpd_/etc/openresty_config/custom_security/899-automitigation.inc |
set $autoMitigation '${autoMitigation}_${map_underattack_wl}_${map_ip_exception}';
set $securityRule 'auto_mitigation';
if ($autoMitigation = "444_0_0"){
return 444;
}
if ($autoMitigation = "cookie_0_0"){
set $challengetype 'cookie';
break;
}
if ($autoMitigation = "js_0_0"){
set $challengetype 'js';
break;
}
if ($autoMitigation = "captcha_0_0"){
set $challengetype 'captcha';
break;
}