From ee00c21d39047826e8713c0874181aad22a42afa Mon Sep 17 00:00:00 2001 From: yidl Date: Wed, 2 Jul 2025 23:51:16 +0800 Subject: [PATCH] =?UTF-8?q?lmg=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf.gateway | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nginx.conf.gateway b/nginx.conf.gateway index 38bcdc9..e70d1f6 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -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/; - } } }