ansible-roles/library/roles/fail2ban/templates/nginx-ddos-jail.conf.j2

9 lines
236 B
Django/Jinja

[nginx-get-dos]
enabled = {{ f2b_nginx_ddos_enabled }}
port = http,https
filter = nginx-ddos-filter
logpath = /var/log/nginx/*access.log
maxretry = {{ f2b_ddos_maxretry }}
findtime = {{ f2b_ddos_findtime }}
bantime = {{ f2b_ban_time }}