fix: proxy embed to A public host with correct Host/SNI [deploy]
CI Pipeline / check-commit (push) Successful in 6s
CI Pipeline / deploy-only (push) Has been skipped
CI Pipeline / build (push) Successful in 22s
CI Pipeline / deploy (push) Successful in 19s

This commit is contained in:
mdszxy committed 2026-10-06 00:17:49 +08:00
1 parent 5dc62bd7c4
commit 8a28342a81
4 files changed
+32 -10

No files matched your search

+7 -1
View File
@@ -10,7 +10,13 @@ CI 对齐 project0:提交带 `[deploy]` 会构建镜像并部署。nginx 监
仓库 Secrets:`LFS_PAT`、`KUBECONFIG_BASE64`。
K8s 可设置环境变量覆盖 A 站地址(默认已按 CI 命名规则写好):
K8s 可设置环境变量覆盖 A 站地址(默认走 A 站公网域名,反代会带正确 Host/SNI):
```
A_UPSTREAM=https://project57.website-build.org
```
若改回集群内 Service,例如:
```
A_UPSTREAM=http://project57-deploy.ns-project57.svc.cluster.local:3000