Update nginx.conf
This commit is contained in:
parent
14e0775213
commit
06962388a5
1 changed files with 5 additions and 1 deletions
|
|
@ -33,11 +33,15 @@ http {
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://frontend;
|
proxy_pass http://frontend;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
access_log logs/access.log;
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://flask-frontend;
|
proxy_pass http://flask-frontend;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue