Browse Source

Allow to use load_module without including external files

master
Konrad Mosoń 6 years ago
parent
commit
f16d800c83
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 'load_module' in config.keys() %}
{{ nginx_block(config.pop('load_module'), 'load_module') }}
{%- endif -%}

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

Loading…
Cancel
Save