|
@@ -47,10 +47,8 @@ http {
|
|
|
}
|
|
|
{% endfor %}
|
|
|
|
|
|
-{% if nginx_conf_path is defined %}
|
|
|
- include {{ nginx_conf_path }};
|
|
|
-{% endif %}
|
|
|
-{% if nginx_vhost_path is defined %}
|
|
|
+ include {{ nginx_conf_path }}/*;
|
|
|
+{% if nginx_conf_path != nginx_vhost_path %}
|
|
|
include {{ nginx_vhost_path }}/*;
|
|
|
{% endif %}
|
|
|
}
|