This commit is contained in:
Baptiste Peupier 2022-02-02 13:18:09 +01:00
parent cbba65f450
commit 4cd8c65524
3 changed files with 7 additions and 11 deletions

View file

@ -21,9 +21,9 @@ http {
server frontend:4200;
}
# upstream flask-frontend {
# server flask-frontend:5000;
# }
upstream flask-frontend {
server flask-frontend:5000;
}
server {
@ -34,9 +34,9 @@ http {
proxy_pass http://frontend;
}
# location /api {
# proxy_pass http://flask-frontend;
# }
location /api {
proxy_pass http://flask-frontend;
}
}
}