Files
WPIQ/wo/cli/templates/fail2ban.mustache

26 lines
569 B
Plaintext
Raw Normal View History

2019-09-02 18:56:34 +02:00
[DEFAULT]
ignoreip = 127.0.0.1/8 ::1
2019-04-07 12:57:35 +02:00
[recidive]
enabled = true
2020-08-07 15:39:46 +02:00
{{#nginx}}[nginx-http-auth]
2019-04-07 12:57:35 +02:00
enabled = true
logpath = /var/log/nginx/*error*.log
2019-04-07 12:57:35 +02:00
[nginx-botsearch]
enabled = true
logpath = /var/log/nginx/*access*.log
2019-04-07 12:57:35 +02:00
[wo-wordpress]
enabled = true
filter = wo-wordpress
action = iptables-multiport[name="wo-wordpress", port="http,https"]
logpath = /var/log/nginx/*access*.log
2019-04-07 12:57:35 +02:00
maxretry = 5
[nginx-forbidden]
enabled = true
filter = nginx-forbidden
action = iptables-multiport[name="nginx-forbidden", port="http,https"]
2020-08-07 15:39:46 +02:00
logpath = /var/log/nginx/*error*.log{{/nginx}}