rss-bridge/.devcontainer/nginx.conf

18 lines
422 B
Nginx Configuration File
Raw Normal View History

2023-03-07 19:10:36 +03:00
server {
listen 3100 default_server;
root /workspaces/rss-bridge;
access_log /var/log/nginx/rssbridge.access.log;
error_log /var/log/nginx/rssbridge.error.log;
index index.php;
location ~ /(\.|vendor|tests) {
deny all;
return 403; # Forbidden
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
2023-03-07 19:10:36 +03:00
}
}