1
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-03-02 22:25:52 +03:00
rss-bridge/config/nginx.conf
Alexandre Alapetite e99e026fa8
Use standard Docker logs ()
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/
2023-05-11 01:44:11 +02:00

18 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;
}
}