From e99e026fa8e88e54586837847eb23ca5683ddcb1 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 11 May 2023 01:44:11 +0200 Subject: [PATCH] Use standard Docker logs (#3333) Instead of storing logs inside the container (where then cannot easily be seen not rotated), consider using the standard Docker approach of writing to standard output https://docs.docker.com/config/containers/logging/ --- config/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 36412ea4..bb7b1dcb 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -2,8 +2,8 @@ server { listen 80 default_server; listen [::]:80 default_server; root /app; - access_log /var/log/nginx/rssbridge.access.log; - error_log /var/log/nginx/rssbridge.error.log; + access_log /dev/stdout; + error_log /dev/stderr; index index.php; location ~ /(\.|vendor|tests) {