summaryrefslogtreecommitdiff
path: root/pkg/nginx
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-04-25 19:08:02 -0700
committerMichael Forney <mforney@mforney.org>2021-04-25 19:35:07 -0700
commitc60a5f7767fe665db8ef884195bba03127469d3d (patch)
tree64307b75ffb659a41de7a4df4e6367be8fe88fe6 /pkg/nginx
parent9e68e70d127c870a7ba5423cec2aba6e4ee59ea5 (diff)
nginx: Log to stderr by default
Diffstat (limited to 'pkg/nginx')
-rw-r--r--pkg/nginx/ngx_auto_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/nginx/ngx_auto_config.h b/pkg/nginx/ngx_auto_config.h
index 54890c42..30e8cd6c 100644
--- a/pkg/nginx/ngx_auto_config.h
+++ b/pkg/nginx/ngx_auto_config.h
@@ -104,7 +104,8 @@
#define NGX_CONF_PATH "/etc/nginx/nginx.conf"
#define NGX_PID_PATH "nginx.pid"
#define NGX_LOCK_PATH "nginx.lock"
-#define NGX_ERROR_LOG_PATH "/var/log/nginx/error.log"
+#define NGX_ERROR_LOG_PATH ""
+#define NGX_ERROR_LOG_STDERR 1
#define NGX_HTTP_LOG_PATH "/var/log/nginx/access.log"
#define NGX_HTTP_CLIENT_TEMP_PATH "client_body_temp"
#define NGX_HTTP_PROXY_TEMP_PATH "proxy_temp"