mirror of
https://github.com/hanzo-io/cloud.git
synced 2026-11-02 17:30:47 +00:00
10 lines
299 B
Django/Jinja
10 lines
299 B
Django/Jinja
## block hosts trying to abuse our server as a forward proxy
|
|
## findtime - 15mins & bantime - 1hr
|
|
[nginx-proxy]
|
|
enabled = true
|
|
filter = nginx-proxy
|
|
logpath = {{ fail2ban_nginx_access_log }}
|
|
action = iptables-multiport[name=NoNginxProxy, port="http,https"]
|
|
maxretry = 3
|
|
bantime = 3600
|
|
findtime = 900 |