新增生产HTTPS与证书续期告警方案

This commit is contained in:
hello-dd-code
2026-02-28 16:34:36 +08:00
parent c7974e7f40
commit 78f488fbbb
5 changed files with 199 additions and 0 deletions
@@ -0,0 +1,24 @@
# HTTPS 与续期策略验证记录(2026-02-28)
对应 issue`#10 [P1][T7] 生产 HTTPS 配置与证书续期策略`
## 验证内容
1. 配置文件存在且可读
- `deploy/nginx/wx_service_https.conf`
2. 续期与告警脚本语法检查
- `scripts/ops/renew_cert.sh`
- `scripts/ops/check_cert_expiry.sh`
## 验证命令
```bash
bash -n scripts/ops/renew_cert.sh
bash -n scripts/ops/check_cert_expiry.sh
```
## 结果
- 语法检查通过。
- 已提供 HTTP->HTTPS 强制跳转、自动续期、过期/失败告警方案与定时任务示例。