mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 06:08:27 +01:00
e99e026fa8
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/
19 lines
371 B
Nginx Configuration File
19 lines
371 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
root /app;
|
|
access_log /dev/stdout;
|
|
error_log /dev/stderr;
|
|
index index.php;
|
|
|
|
location ~ /(\.|vendor|tests) {
|
|
deny all;
|
|
return 403; # Forbidden
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
include snippets/fastcgi-php.conf;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
}
|
|
}
|