From f16d800c833d11e645db33817e5422f55ad5985d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Moso=C5=84?= Date: Tue, 8 May 2018 19:07:20 +0200 Subject: [PATCH] Allow to use load_module without including external files --- nginx/ng/files/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx/ng/files/nginx.conf b/nginx/ng/files/nginx.conf index e32edea..91efad6 100644 --- a/nginx/ng/files/nginx.conf +++ b/nginx/ng/files/nginx.conf @@ -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 -%}