self-heal standalone cert renewal configs on provision
Provision server / provision (push) Successful in 22s
Provision server / provision (push) Successful in 22s
This commit is contained in:
+6
-1
@@ -105,7 +105,12 @@ cert as SANs.
|
||||
1. Run `app.sh cert <domain>` (uses `certbot --webroot`, zero downtime)
|
||||
2. Deploy nginx config — `deploy.sh` verifies certs exist, fails if missing
|
||||
|
||||
**Renewal:** certbot timer/cron runs daily, deploy hook reloads nginx.
|
||||
**Renewal:** certbot timer/cron runs daily, deploy hook reloads nginx. All certs
|
||||
must use the `webroot` authenticator so nginx can keep port 80; certs issued by
|
||||
the old `--standalone` flow (removed in `de1d60b`) can never renew because nginx
|
||||
holds port 80. `configure.sh` self-heals this on every `provision`: it scans
|
||||
`/etc/letsencrypt/renewal/*.conf` and reissues any `standalone` cert via the
|
||||
`cert-<domain>` webroot path (best-effort; warns and exits non-zero on failure).
|
||||
|
||||
## `.env.keys` mechanism
|
||||
|
||||
|
||||
Reference in New Issue
Block a user