ansible-role-nginx/files/fail2ban/jail.d/nginx-req-limit.conf
2023-03-11 21:35:10 +01:00

12 lines
237 B
Plaintext

# Managed by Ansible
[nginx-req-limit]
enabled = true
filter = nginx-req-limit
action = iptables-multiport[name=ReqLimit, port="http,https", protocol=tcp]
logpath = /var/log/nginx/*error.log
findtime = 600
bantime = 7200
maxretry = 10