React runs on port 8080
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user