diff options
author | 2023-05-11 01:44:11 +0200 | |
---|---|---|
committer | 2023-05-11 01:44:11 +0200 | |
commit | e99e026fa8e88e54586837847eb23ca5683ddcb1 (patch) | |
tree | 19872ce8a1c3f6a8b5fabfe88bcccc439bd09f76 | |
parent | 50865d57413b9c39de9c7ddabd1c8ea2cb2fd9d1 (diff) | |
download | rss-bridge-e99e026fa8e88e54586837847eb23ca5683ddcb1.tar.gz rss-bridge-e99e026fa8e88e54586837847eb23ca5683ddcb1.tar.zst rss-bridge-e99e026fa8e88e54586837847eb23ca5683ddcb1.zip |
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/
-rw-r--r-- | config/nginx.conf | 4 |
1 files 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) { |