mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-11 12:52:10 +07:00
load modules uses pattern *.conf
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user