nginx-ultimate-bad-bot-blocker/Fail2Ban/jail.local
Mitchell Krog f5d5372c3a Added Custom Fail2Ban Jail for Dealing with Repeat Offenders at Firewall Level
see the Fail2Ban folder for instructions
2017-01-04 11:30:39 +02:00

9 lines
No EOL
291 B
Text

# Place this at the bottom of your jail.local file adjust ban and find times as your require
[nginxrepeatoffender]
enabled = true
logpath = %(nginx_access_log)s
filter = nginxrepeatoffender
banaction = nginxrepeatoffender
bantime = 86400 ; 1 day
findtime = 604800 ; 1 week
maxretry = 20