Files
WPIQ/wo/cli/templates/fail2ban.mustache
VirtuBox 3f1f08998c Rollback
2019-09-02 18:56:34 +02:00

33 lines
592 B
Plaintext

[DEFAULT]
ignorself = true
ignoreip = 127.0.0.1/8 ::1
bantime = 60m
[recidive]
enabled = true
[nginx-http-auth]
enabled = true
[nginx-limit-req]
enabled = true
maxretry = 30
[nginx-botsearch]
enabled = true
[wo-wordpress]
enabled = true
filter = wo-wordpress
action = iptables-multiport[name="wo-wordpress", port="http,https"]
logpath = /var/log/nginx/*access.log
maxretry = 5
[nginx-forbidden]
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