nginx-ultimate-bad-bot-blocker/Fail2Ban/jail.local
2017-01-25 10:27:28 +02:00

14 lines
No EOL
482 B
Text

# Place this jail at the bottom of your jail.local file adjust ban and find times as your require
# This is to be added to an existing jail.local file, this should not be the only contents
# of your jail.local for Fail2Ban
# PLEASE NOTE: This only works on Fail2Ban V 0.9.3 and up.
[nginxrepeatoffender]
enabled = true
logpath = %(nginx_access_log)s
filter = nginxrepeatoffender
banaction = nginxrepeatoffender
bantime = 86400 ; 1 day
findtime = 604800 ; 1 week
maxretry = 20