deploy(M00-E): 补充Certbot证书检查
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
# 部署变更记录
|
||||
|
||||
## 2026-06-15 / 0.1.2-m00-certbot-check
|
||||
|
||||
- 关联模块:M00-E
|
||||
- 关联 commit:本轮提交推送后以远端 HEAD 为准
|
||||
- 变化内容:新增 `scripts/setup/certbot.sh` 和 `deploy/certbot/api.txyundm.cn.commands.md`,菜单第 4 项追加 Certbot、证书文件、续期配置和 `certbot.timer` 检查。
|
||||
- 配置变化:`setup.sh --https` 会同时输出证书签发命令和续期 dry-run 命令。
|
||||
- 数据库变化:无。
|
||||
- 兼容性:仅增加检查和管理员命令说明,不自动申请证书,不写入 `/etc/letsencrypt`。
|
||||
- 已执行验证:Windows 本地检查和敏感信息扫描通过;WSL `bash -n`、`setup.sh --preflight/--status/--https/--diagnose`、`scripts/dev/wsl/check-api-domain.sh` 通过,生产项按预期返回 WARN。
|
||||
- 回滚方式:移除新增 Certbot 检查脚本和命令说明即可回到 0.1.1 行为;未改动生产环境。
|
||||
- 生产环境人工步骤:管理员在 Ubuntu 上准备 `/var/www/certbot`、执行 `certbot certonly --webroot` 和 `certbot renew --dry-run`。
|
||||
|
||||
## 2026-06-15 / 0.1.1-m00-domain-https-check
|
||||
|
||||
- 关联模块:M00-E
|
||||
|
||||
Reference in New Issue
Block a user