We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6a7f0 commit c1b707cCopy full SHA for c1b707c
templates/nginx.conf.j2
@@ -44,8 +44,8 @@ worker_rlimit_nofile {{ nginx_main_template.worker_rlimit_nofile }};
44
{% endfor %}
45
{% endif %}
46
47
-error_log {{ nginx_main_template.error_log.location }} {{ nginx_main_template.error_log.level }};
48
-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") }};
49
50
51
events {
0 commit comments