mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2024-11-16 10:35:33 +01:00
Merge pull request #14 from markwilde/master
Added additional nginx_conf_path for Debian.
This commit is contained in:
commit
6eff7fa665
@ -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 %}
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user