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

17 lines
497 B
Text
Raw Normal View History

[haproxy]
enabled = true
bantime = 600
findtime = 10
maxretry = 100
filter = haproxy-basic
backend = systemd
journalmatch = _COMM=haproxy
2021-03-28 16:28:07 +01:00
port = http,https,{{ haproxy.exposed_ports | join(",") }}
2021-03-24 22:35:28 +00:00
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }}
[traefik]
enabled = true
filter = haproxy-basic # Not actually used
2021-03-28 16:28:07 +01:00
port = http,https,{{ haproxy.exposed_ports | join(",") }}
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }}