infrastructure/ansible/roles/gateway/files/nginx-fail2ban-jail.conf
Jake Howard b93832be28
All checks were successful
/ terraform (push) Successful in 35s
/ ansible (push) Successful in 1m22s
Remove Nebula
I'm basically all in on Tailscale now
2024-07-30 20:03:04 +01:00

14 lines
519 B
Text

[nginx]
enabled = true
bantime = 600
findtime = 10
maxretry = 100
filter = nginx-tcp
logpath = /var/log/nginx/ips.log
port = http,https,8448
ignoreip = {{ wireguard.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
[traefik]
enabled = true
port = http,https,8448
ignoreip = {{ wireguard.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}