ansible-role-nginx/files/fail2ban/jail.d/nginx-req-limit.conf

12 lines
237 B
Text
Raw Normal View History

2023-03-11 21:35:10 +01:00
# 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