infrastructure/ansible/roles/gateway/files/nginx-fail2ban-jail.conf

15 lines
485 B
Text
Raw Normal View History

[nginx]
enabled = true
bantime = 600
findtime = 10
maxretry = 100
filter = nginx-tcp
logpath = /var/log/nginx/ips.log
port = http,https,8448
2024-02-07 18:21:16 +00:00
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
[traefik]
enabled = true
port = http,https,8448
2024-02-07 18:21:16 +00:00
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}