feat(DRW-001) initial commit!
CI/CD / Build (push) Successful in 5m59s
CI/CD / Frontend Build (push) Successful in 1m27s
CI/CD / Unit Tests (push) Failing after 1m12s
CI/CD / Docker (push) Skipped
CI/CD / Frontend Docker (push) Failing after 3m29s

This commit is contained in:
kwiialyssa
2026-09-13 20:37:48 +03:00
commit edb4cd8613
59 changed files with 8669 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Same-origin API calls from the SPA get forwarded to the backend
# container by its compose service name -- the frontend never needs
# to know a real hostname/port for the API, and there's no CORS to deal with.
location /api/ {
proxy_pass http://dota-random-web:8080/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location / {
try_files $uri /index.html;
}
}