mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
8 lines
248 B
Django/Jinja
8 lines
248 B
Django/Jinja
## block hosts trying to abuse our server as a forward proxy
|
|
[nginx-proxy]
|
|
enabled = true
|
|
filter = nginx-proxy
|
|
logpath = {{ fail2ban_nginx_access_log }}
|
|
action = iptables-multiport[name=NoNginxProxy, port="http,https"]
|
|
maxretry = 2
|
|
bantime = 86400 |