Update nginx.conf

This commit is contained in:
Baptiste Peupier 2022-02-02 09:32:09 +01:00
parent 33b71bed0c
commit 14e0775213

View file

@ -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;
}
}
}