diff --git a/nginx.conf.gateway b/nginx.conf.gateway index 23b50d6..3cb5541 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -171,6 +171,7 @@ http { # 将 /Callback -> http://sys_ui/Callback proxy_pass http://sys_ui; proxy_redirect http://sys_ui/ https://$host:$server_port/; + proxy_redirect https://sys_ui/ https://$host:$server_port/; } # 5. Sys UI 和根路径路由 # IMPORTANT: sys-ui 的前端路由基础路径(base path)需要配置为 / @@ -180,6 +181,7 @@ http { # 将 /path -> http://sys_ui/path proxy_pass http://sys_ui; proxy_redirect http://sys_ui/ https://$host:$server_port/; + proxy_redirect https://sys_ui/ https://$host:$server_port/; } }