templating - fixing bugs with autoconf

This commit is contained in:
bunkerity
2021-05-27 14:41:21 +02:00
parent f950abdc24
commit 0f8e56a668
6 changed files with 28 additions and 143 deletions

View File

@@ -120,7 +120,7 @@ http {
{% set map_servers = {} %}
{% for server_name in SERVER_NAME.split(" ") %}
{% if server_name + "_SERVER_NAME" in all %}
{% set x = map_servers.update({server_name : [all[server_name] + "_SERVER_NAME"].split(" ")}) %}
{% set x = map_servers.update({server_name : all[server_name + "_SERVER_NAME"].split(" ")}) %}
{% endif %}
{% endfor %}
{% for server_name in SERVER_NAME.split(" ") %}