From 1743431b2cec838e50283322adcc5f40bda06340 Mon Sep 17 00:00:00 2001 From: yidongliang Date: Wed, 2 Jul 2025 12:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nginx.conf.gateway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf.gateway | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/; }