Move includes to the top of nginx.conf

This commit is contained in:
Benjamin Neff 2017-06-18 21:09:05 +02:00
parent 15a1291495
commit 5d67b09594
No known key found for this signature in database
GPG Key ID: 971464C3F1A90194

View File

@ -32,6 +32,10 @@
#
# This file is managed by Salt.
{% if 'include' in config.keys() %}
{{ nginx_block(config.pop('include'), 'include') }}
{%- endif -%}
{% for key, value in config.items() %}
{{ nginx_block(value, key) }}
{%- endfor -%}