React runs on port 8080

This commit is contained in:
2025-01-23 12:22:47 +00:00
parent 66957efe6f
commit b377240753
3 changed files with 8 additions and 2 deletions

View File

@@ -42,5 +42,9 @@ http {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://web_server:5000; # flask-app is the name of the Flask container in docker-compose
}
location / {
proxy_pass http://frontend:5173; # frontend is the name of the React container in docker-compose
}
}
}