Add default values for PID and error log (#277)

This commit is contained in:
Alessandro Fael Garcia 2020-06-30 22:39:25 +02:00 committed by GitHub
parent 7e6a7f0397
commit c1b707cc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,8 @@ worker_rlimit_nofile {{ nginx_main_template.worker_rlimit_nofile }};
{% endfor %}
{% endif %}
error_log {{ nginx_main_template.error_log.location }} {{ nginx_main_template.error_log.level }};
pid {{ nginx_main_template.pid }};
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 | default("/var/run/nginx.pid") }};
events {