Replace edge proxy with nginx
The config makes more sense, and it has more of the features I need, which will come later.
This commit is contained in:
14
ansible/roles/gateway/files/nginx-fail2ban-jail.conf
Normal file
14
ansible/roles/gateway/files/nginx-fail2ban-jail.conf
Normal file
@ -0,0 +1,14 @@
|
||||
[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 }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }}
|
||||
|
||||
[traefik]
|
||||
enabled = true
|
||||
port = http,https,8448
|
||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }}
|
Reference in New Issue
Block a user