mailinabox/conf/fail2ban/jail.d/nginx-general.conf

10 lines
163 B
Plaintext

[nginx-badbots]
enabled = true
port = http,https
filter = nginx-badbots
logpath = /var/log/nginx/access.log
maxretry = 2
[nginx-http-auth]
enabled = true