lmg路由
This commit is contained in:
parent
1743431b2c
commit
ee00c21d39
|
@ -151,7 +151,7 @@ http {
|
|||
}
|
||||
|
||||
# UI前端路由
|
||||
location /lmg/ {
|
||||
location /{
|
||||
proxy_pass http://lmg_ui/; # 注意末尾的/
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
@ -193,10 +193,5 @@ http {
|
|||
proxy_ssl_verify off;
|
||||
proxy_set_header Authorization $http_authorization;
|
||||
}
|
||||
|
||||
# 根路径重定向到Lmg UI
|
||||
location = / {
|
||||
return 301 /lmg/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue