8 lines
166 B
Django/Jinja
8 lines
166 B
Django/Jinja
# Manages by Ansible
|
|
|
|
map $http_user_agent $bad_bots {
|
|
default 0;
|
|
{% for user_agent in bad_user_agents.stdout_lines %}
|
|
"~*{{ user_agent }}" 1;
|
|
{% endfor %}
|
|
}
|