Fix fail2ban
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
[DEFAULT]
|
||||
ignorself = true
|
||||
ignoreip = 127.0.0.1/8 ::1
|
||||
bantime = 60m
|
||||
|
||||
@@ -11,7 +10,6 @@ enabled = true
|
||||
|
||||
[nginx-limit-req]
|
||||
enabled = true
|
||||
maxretry = 30
|
||||
|
||||
[nginx-botsearch]
|
||||
enabled = true
|
||||
@@ -28,6 +26,3 @@ enabled = true
|
||||
filter = nginx-forbidden
|
||||
action = iptables-multiport[name="wo-wordpress", port="http,https"]
|
||||
logpath = /var/log/nginx/*error*.log
|
||||
findtime = 60
|
||||
bantime = 6000
|
||||
maxretry = 5
|
||||
Reference in New Issue
Block a user