Add PID templating option (#267)
This commit is contained in:
parent
77ccf86255
commit
902d4ff83f
@ -18,6 +18,7 @@ nginx_main_template:
|
||||
user: nginx
|
||||
worker_processes: auto
|
||||
# worker_rlimit_nofile: 1024
|
||||
pid: /var/run/nginx.pid
|
||||
error_log:
|
||||
location: /var/log/nginx/error.log
|
||||
level: warn
|
||||
|
@ -13,6 +13,7 @@
|
||||
conf_file_location: /etc/nginx/
|
||||
user: nginx
|
||||
worker_processes: auto
|
||||
pid: /var/run/nginx.pid
|
||||
error_log:
|
||||
location: /var/log/nginx/error.log
|
||||
level: warn
|
||||
|
@ -45,7 +45,7 @@ worker_rlimit_nofile {{ nginx_main_template.worker_rlimit_nofile }};
|
||||
{% endif %}
|
||||
|
||||
error_log {{ nginx_main_template.error_log.location }} {{ nginx_main_template.error_log.level }};
|
||||
pid /var/run/nginx.pid;
|
||||
pid {{ nginx_main_template.pid }};
|
||||
|
||||
|
||||
events {
|
||||
|
Loading…
Reference in New Issue
Block a user