load modules uses pattern *.conf

This commit is contained in:
Emilien Mantel
2017-03-13 10:19:07 +01:00
parent 7892626fc0
commit 2aa9e8b6b9

View File

@@ -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 {