logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: c60a5f7767fe665db8ef884195bba03127469d3d
parent 9e68e70d127c870a7ba5423cec2aba6e4ee59ea5
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 25 Apr 2021 19:08:02 -0700

nginx: Log to stderr by default

Diffstat:

Mpkg/nginx/ngx_auto_config.h3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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"