Files
WPIQ/wo/cli/templates/fail2ban.mustache
2019-09-02 21:15:08 +02:00

29 lines
520 B
Plaintext

[DEFAULT]
ignoreip = 127.0.0.1/8 ::1
bantime = 60m
[recidive]
enabled = true
[nginx-http-auth]
enabled = true
[nginx-limit-req]
enabled = true
[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