diff --git a/api/nginx/nginx.conf b/api/nginx/nginx.conf index 2e385864ba..730479d2a9 100644 --- a/api/nginx/nginx.conf +++ b/api/nginx/nginx.conf @@ -3,7 +3,7 @@ daemon off; -error_log stderr info; +error_log /dev/stderr info; # error_log stderr debug; events { diff --git a/build/ansible/roles/nginx/files/nginx.conf b/build/ansible/roles/nginx/files/nginx.conf index ea60c7bbe5..49f57aa5da 100644 --- a/build/ansible/roles/nginx/files/nginx.conf +++ b/build/ansible/roles/nginx/files/nginx.conf @@ -3,7 +3,7 @@ worker_processes 2; daemon off; -error_log /srv/logs/nginx.log warn; +error_log /dev/stderr warn; pid /run/nginx.pid; events { @@ -23,7 +23,7 @@ http { '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; - access_log /srv/logs/nginx.log main; + access_log /dev/stdout main; sendfile on; gzip on;