diff --git a/frontend/conf/nginx.conf b/frontend/conf/nginx.conf index 2966393..4659260 100644 --- a/frontend/conf/nginx.conf +++ b/frontend/conf/nginx.conf @@ -21,6 +21,10 @@ http { server frontend:4200; } + upstream flask-frontend { + server flask-frontend:5000; + } + server { listen 80; @@ -30,6 +34,10 @@ http { proxy_pass http://frontend; } + location /api { + proxy_pass http://flask-frontend; + } + } }