Merge pull request #47 from colinhoglund/master

Convert pidfile into a variable.
This commit is contained in:
Jeff Geerling 2016-03-17 10:06:00 -05:00
commit baa802befe
3 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
user {{ nginx_user }};
error_log {{ nginx_error_log }};
pid /var/run/nginx.pid;
pid {{ nginx_pidfile }};
worker_processes {{ nginx_worker_processes }};

View File

@ -1,5 +1,6 @@
---
nginx_conf_path: /etc/nginx/conf.d
nginx_pidfile: /run/nginx.pid
nginx_vhost_path: /etc/nginx/sites-enabled
nginx_default_vhost_path: /etc/nginx/sites-enabled/default
__nginx_user: "www-data"

View File

@ -1,5 +1,6 @@
---
nginx_conf_path: /etc/nginx/conf.d
nginx_pidfile: /var/run/nginx.pid
nginx_vhost_path: /etc/nginx/conf.d
nginx_default_vhost_path: /etc/nginx/conf.d/default.conf
__nginx_user: "nginx"