webserver-config/install/nginx-conf/10-fail2ban-check.conf
2024-10-23 17:06:54 -06:00

7 lines
No EOL
207 B
Text

js_import /etc/nginx/modules-available/check_ban.js;
js_set $exec_check_ban check_ban.checkBan;
map $http_cf_connecting_ip $is_banned {
default 0;
"~.*" "${exec_check_ban $http_cf_connecting_ip}";
}