diff --git a/nginx.conf.gateway b/nginx.conf.gateway index e6acf41..38bcdc9 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -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/; }