NgixProxy_Pathfinder/fail2ban/jail.d/nginx.conf

9 lines
197 B
Nginx Configuration File

[nginx-badbots]
enabled = true
filter = nginx-badbots
logpath = /var/log/nginx/*.log
maxretry = 5
findtime = 300
bantime = 3600
action = iptables-multiport[name=nginx, port="80,443", protocol=tcp]