nginx.conf im Root erstellt + Dockerfile.web korrigiert
Deploy Fitness App / deploy (push) Failing after 1m12s

This commit is contained in:
2026-05-09 13:33:45 +02:00
parent 25c7172bc6
commit 112b9410b0
2 changed files with 20 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://fitness-api:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}