chore: init project

This commit is contained in:
cesnimda
2026-06-30 15:53:32 +02:00
commit f43ef5f945
94 changed files with 4405 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Optional top-level reverse proxy fronting both the SPA and the API on port 80.
upstream api_upstream { server api:8080; }
upstream frontend_upstream { server frontend:80; }
server {
listen 80;
server_name _;
location /api/ {
proxy_pass http://api_upstream;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Cookie $http_cookie;
}
location / {
proxy_pass http://frontend_upstream;
proxy_set_header Host $host;
}
}