deploy(M00-E): 补充API域名HTTPS检查

This commit is contained in:
Codex
2026-06-15 16:34:36 +08:00
parent c51ba43fa9
commit f5445f16d7
19 changed files with 225 additions and 50 deletions
+12
View File
@@ -1,5 +1,17 @@
# 部署变更记录
## 2026-06-15 / 0.1.1-m00-domain-https-check
- 关联模块:M00-E
- 关联 commit:本轮待提交
- 变化内容:新增 `deploy/nginx/api.txyundm.cn.conf.template``scripts/setup/domain-https.sh``setup.sh --https` 和 Windows 域名检查脚本。
- 配置变化:菜单第 4 项扩展为检查固定域名、Nginx 模板、站点启用状态、TLS 证书和健康端点。
- 数据库变化:无。
- 兼容性:仅增加检查和模板,不自动写入生产 Nginx,不申请证书。
- 已执行验证:Windows 本地检查、敏感信息扫描、PowerShell 解析检查通过;WSL `bash -n``setup.sh --preflight/--status/--https/--diagnose` 通过,HTTPS 项返回 WARN。
- 回滚方式:移除新增模板和检查脚本即可回到 0.1.0 行为;未改动生产环境。
- 生产环境人工步骤:管理员在 Ubuntu 上安装证书后,按菜单提示复制 Nginx 模板并执行 `nginx -t` 与 reload。
## 2026-06-15 / 0.1.0-m00-deploy-baseline
- 关联模块:M00