ubuntu-nginx-web-server/docs/files/etc/fail2ban/jail.d/custom.conf

24 lines
424 B
Plaintext
Raw Normal View History

2018-06-03 16:39:21 +02:00
[recidive]
enabled = true
[nginx-http-auth]
enabled = true
[nginx-botsearch]
enabled = true
[ee-wordpress]
enabled = true
filter = ee-wordpress
action = iptables-multiport[name="ee-wordpress", port="http,https"]
logpath = /var/log/nginx/*access.log
maxretry = 5
2018-08-03 12:40:15 +02:00
[nginx-forbidden]
enabled = true
filter = nginx-forbidden
port = http,https
logpath = /var/log/nginx/*error*.log
findtime = 60
bantime = 6000
maxretry = 3