Add default values for PID and error log (#277)
This commit is contained in:
parent
7e6a7f0397
commit
c1b707cc5b
@ -44,8 +44,8 @@ worker_rlimit_nofile {{ nginx_main_template.worker_rlimit_nofile }};
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
error_log {{ nginx_main_template.error_log.location }} {{ nginx_main_template.error_log.level }};
|
error_log {{ nginx_main_template.error_log.location | default("/var/log/nginx/error.log") }} {{ nginx_main_template.error_log.level | default("warn") }};
|
||||||
pid {{ nginx_main_template.pid }};
|
pid {{ nginx_main_template.pid | default("/var/run/nginx.pid") }};
|
||||||
|
|
||||||
|
|
||||||
events {
|
events {
|
||||||
|
Loading…
Reference in New Issue
Block a user