From 2aa9e8b6b9c591406238ca123402653b1b92ab7a Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Mon, 13 Mar 2017 10:19:07 +0100 Subject: [PATCH] load modules uses pattern *.conf --- templates/etc/nginx/nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/nginx/nginx.conf.j2 b/templates/etc/nginx/nginx.conf.j2 index 6e17fa8..96c4799 100644 --- a/templates/etc/nginx/nginx.conf.j2 +++ b/templates/etc/nginx/nginx.conf.j2 @@ -6,7 +6,7 @@ user {{ nginx_user }}; worker_processes {{ nginx_worker_processes }}; pid {{ nginx_pid }}; {% if nginx_version.stdout | version_compare('1.9.11', 'ge') %} -include {{ nginx_etc_dir }}/modules-enabled/*; +include {{ nginx_etc_dir }}/modules-enabled/*.conf; {% endif %} events {