This commit is contained in:
yidl 2025-06-28 23:20:38 +08:00
parent 7787668092
commit d4b42ab3be
1 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,6 @@ http {
# Lmg 系统 API # Lmg 系统 API
upstream lmg_api { upstream lmg_api {
server lmg-api:19903; server lmg-api:19903;
proxy_ssl_verify off; # 关闭证书验证
} }
# Sys 系统 UI # Sys 系统 UI
@ -115,6 +114,7 @@ http {
location /api/lmg/ { location /api/lmg/ {
# 将 /api/lmg/path -> http://lmg_api/api/lmg/path # 将 /api/lmg/path -> http://lmg_api/api/lmg/path
proxy_pass http://lmg_api; proxy_pass http://lmg_api;
proxy_ssl_verify off; # 关闭证书验证
} }
# 4. Lmg UI 路由 # 4. Lmg UI 路由
@ -122,6 +122,7 @@ http {
location /lmg/ { location /lmg/ {
# 将 /lmg/path -> http://lmg_ui/path # 将 /lmg/path -> http://lmg_ui/path
proxy_pass http://lmg_ui/; proxy_pass http://lmg_ui/;
proxy_ssl_verify off; # 关闭证书验证
} }
# 5. Sys UI 和根路径路由 # 5. Sys UI 和根路径路由
@ -131,6 +132,7 @@ http {
# 根路径 / 直接访问 sys_ui # 根路径 / 直接访问 sys_ui
# 将 /path -> http://sys_ui/path # 将 /path -> http://sys_ui/path
proxy_pass http://sys_ui; proxy_pass http://sys_ui;
proxy_ssl_verify off; # 关闭证书验证
} }
# 6. OAuth 回调地址路由 # 6. OAuth 回调地址路由
@ -138,6 +140,7 @@ http {
location = /Callback { location = /Callback {
# 将 /Callback -> http://sys_ui/Callback # 将 /Callback -> http://sys_ui/Callback
proxy_pass http://sys_ui; proxy_pass http://sys_ui;
proxy_ssl_verify off; # 关闭证书验证
} }
} }
} }