Update nginx.conf
This commit is contained in:
parent
33b71bed0c
commit
14e0775213
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue