fix: turn off error logging for validate config

This will allow validation to work if the default logging locations cannot be written to but the configuration is otherwise okay. This will be the case for users with custom nginx configurations that log to other places, such as syslog.
This commit is contained in:
Jose Diaz-Gonzalez
2019-03-26 17:10:32 -04:00
committed by GitHub
parent abf7addaa6
commit 54ef6514d5

View File

@@ -1,2 +1,6 @@
events { worker_connections 768; }
http { include {{ $.NGINX_CONF }}; }
http {
access_log off;
error_log /dev/null;
include {{ $.NGINX_CONF }};
}