Allow to use load_module without including external files
This commit is contained in:
parent
4b3d5bf624
commit
f16d800c83
@ -32,6 +32,10 @@
|
|||||||
#
|
#
|
||||||
# This file is managed by Salt.
|
# 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() %}
|
{% if 'include' in config.keys() %}
|
||||||
{{ nginx_block(config.pop('include'), 'include') }}
|
{{ nginx_block(config.pop('include'), 'include') }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user