Browse Source

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

Move includes to the top of nginx.conf
susefix
Javier Bértoli 7 years ago
parent
commit
240bd8348a
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

# #
# This file is managed by Salt. # This file is managed by Salt.


{% if 'include' in config.keys() %}
{{ nginx_block(config.pop('include'), 'include') }}
{%- endif -%}

{% for key, value in config.items() %} {% for key, value in config.items() %}
{{ nginx_block(value, key) }} {{ nginx_block(value, key) }}
{%- endfor -%} {%- endfor -%}

Loading…
Cancel
Save