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