1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-29 03:47:42 +01:00

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/
This commit is contained in:
Alexandre Alapetite 2023-05-11 01:44:11 +02:00 committed by GitHub
parent 50865d5741
commit e99e026fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {