Fix · Caddy
Fix “Certificate expiry” on Caddy
Automate renewal (certbot / your host's auto-renew) so certs renew well before expiry; alert at 30 days left.
No server-level snippet for this control on Caddy; apply the guidance below.
Verify the fix
Re-run the Certificate expiry check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Express / Node · Cloudflare