From 1a1969c069a6b5cdeb31d632d517bab5ec8b4018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 25 Apr 2019 10:19:43 +0200 Subject: [PATCH] fix config file --- Nginx-S2I-Image/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Nginx-S2I-Image/nginx.conf b/Nginx-S2I-Image/nginx.conf index b3298a9..f854917 100644 --- a/Nginx-S2I-Image/nginx.conf +++ b/Nginx-S2I-Image/nginx.conf @@ -3,7 +3,7 @@ # * Official Russian Documentation: http://nginx.org/ru/docs/ worker_processes auto; -error_log /var/log/nginx/error.log; +error_log /dev/stderr info; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. @@ -21,8 +21,7 @@ http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log /var/log/nginx/access.log main; + access_log /dev/stdout main; sendfile on; tcp_nopush on;