load modules uses pattern *.conf

pull/2/merge
Emilien Mantel 2017-03-13 10:19:07 +01:00
parent 7892626fc0
commit 2aa9e8b6b9
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ user {{ nginx_user }};
worker_processes {{ nginx_worker_processes }}; worker_processes {{ nginx_worker_processes }};
pid {{ nginx_pid }}; pid {{ nginx_pid }};
{% if nginx_version.stdout | version_compare('1.9.11', 'ge') %} {% if nginx_version.stdout | version_compare('1.9.11', 'ge') %}
include {{ nginx_etc_dir }}/modules-enabled/*; include {{ nginx_etc_dir }}/modules-enabled/*.conf;
{% endif %} {% endif %}
events { events {