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/; - } } }