更新 nginx.conf.gateway

This commit is contained in:
yidongliang 2025-07-02 12:48:21 +08:00
parent 03b9653f3c
commit 1743431b2c
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ http {
proxy_set_header Authorization $http_authorization;
}
# UI前端路由(基础路径需配置为/lmg/
# UI前端路由
location /lmg/ {
proxy_pass http://lmg_ui/; # 注意末尾的/
proxy_set_header Host $host;
@ -194,7 +194,7 @@ http {
proxy_set_header Authorization $http_authorization;
}
# 根路径重定向到Lmg UI(可选)
# 根路径重定向到Lmg UI
location = / {
return 301 /lmg/;
}