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

9 lines
166 B
Text
Raw Normal View History

2023-03-11 20:20:42 +01:00
# Manages by Ansible
map $http_user_agent $bad_bots {
default 0;
{% for user_agent in bad_user_agents.stdout_lines %}
"~*{{ user_agent }}" 1;
{% endfor %}
}