This commit is contained in:
易栋梁 2025-06-29 14:36:24 +08:00
parent f68e5df0bc
commit b2c24799f2
1 changed files with 2 additions and 0 deletions

View File

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