implement inline config

histausse 2 years ago
parent 94e48cbdae
commit 4fac2bcfc6
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -52,12 +52,19 @@ server {
{% for location in (item.value.locations | default({}) | dict2items) -%}
location {{ location.key }} {
{% filter indent(width=8) -%}
{% for template in (location.value.templates | default([])) -%}
{% include template -%}
{%- endfor %}
{%- for config in (location.value.config | default([])) -%}
{{ config }}
{%- endfor -%}
{%- for template in (location.value.templates | default([])) -%}
{% include template %}
{%- endfor -%}
{%- endfilter %}
}
{%- endfor %}
{% endfor %}
}

Loading…
Cancel
Save