33 lines
592 B
Plaintext
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 |