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;