Merge pull request #157 from SuperTux88/nginx-conf-include

Move includes to the top of nginx.conf
This commit is contained in:
Javier Bértoli 2017-06-23 17:17:25 -03:00 committed by GitHub
commit 240bd8348a

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 -%}