[Core] github codespaces setup (#3287)

This commit is contained in:
Bocki 2023-03-07 17:10:36 +01:00 committed by GitHub
parent f7200756c3
commit 84e0135959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 105 additions and 0 deletions

17
.devcontainer/nginx.conf Normal file
View file

@ -0,0 +1,17 @@
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 127.0.0.1:9000;
}
}