ansible-role-nginx/templates/bad_clients.conf.j2

7 lines
146 B
Django/Jinja

# Managed by Ansible
{% if nginx_bad_client_ip is defined %}
{% for client in nginx_bad_client_ip %}
deny {{ client }};
{% endfor %}
{% endif %}