mirror of
https://github.com/simon987/music-graph-ui.git
synced 2025-04-19 01:56:42 +00:00
update nginx...
This commit is contained in:
parent
5d3f4829f0
commit
4aa496efd5
@ -24,7 +24,7 @@ http {
|
|||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
upstream api {
|
upstream api {
|
||||||
server mg_api;
|
server mg_api:3030;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
@ -39,7 +39,7 @@ http {
|
|||||||
location ~ /api(.*)$ {
|
location ~ /api(.*)$ {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass http://api:3030$1?$args;
|
proxy_pass http://api$1?$args;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user