Fixed PID
parent
4bfca1652c
commit
084a6f283b
|
@ -38,7 +38,6 @@ Socket:
|
|||
|
||||
- `nginx_user`
|
||||
- `nginx_worker_processes`
|
||||
- `nginx_pid`
|
||||
- `nginx_events`: key/value in events block
|
||||
- `nginx_http`: key/value in http block
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ nginx_php_sockets:
|
|||
#
|
||||
nginx_user: 'www-data'
|
||||
nginx_worker_processes: '{{ ansible_processor_vcpus }}'
|
||||
nginx_pid: '/run/nginx.pid'
|
||||
|
||||
nginx_events:
|
||||
worker_connections: '512'
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
user {{ nginx_user }};
|
||||
worker_processes {{ nginx_worker_processes }};
|
||||
pid {{ nginx_pid }};
|
||||
pid /run/nginx.pid;
|
||||
|
||||
events {
|
||||
{% for key, value in nginx_events.iteritems() %}
|
||||
|
|
Loading…
Reference in New Issue