Browse Source

Move includes to the top of nginx.conf

susefix
Benjamin Neff 7 years ago
parent
commit
5d67b09594
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      nginx/ng/files/nginx.conf

+ 4
- 0
nginx/ng/files/nginx.conf 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 -%}

Loading…
Cancel
Save