Merge pull request #14 from markwilde/master

Added additional nginx_conf_path for Debian.
This commit is contained in:
Jeff Geerling 2015-05-12 17:35:27 -07:00
commit 6eff7fa665
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -1,4 +1,5 @@
---
nginx_conf_path: /etc/nginx/conf.d/*.conf
nginx_vhost_path: /etc/nginx/sites-enabled
nginx_default_vhost_path: /etc/nginx/sites-enabled/default
__nginx_user: "www-data"