Deploys and releases · 10 min read
Zero-downtime deploys on one VPS with Caddy and pm2
Run two copies of a Node app on two ports, health-check the new one, then switch Caddy to it. Commands, the pm2 symlink trap, and measured failed requests.
4 articles about caddy.
Deploys and releases · 10 min read
Run two copies of a Node app on two ports, health-check the new one, then switch Caddy to it. Commands, the pm2 symlink trap, and measured failed requests.
Deploys and releases · 9 min read
We sent 20 requests per second through Caddy while restarting a Go service. About one in four failed. Measure your own restart, then pick a fix that fits.
VPS operations · 9 min read
An honest comparison of Caddy and nginx for one small server: automatic TLS, config size, what each does better, and when nginx is the right pick.
Deploys and releases · 10 min read
Switch a Caddy 2 reverse proxy between two upstream ports with a generated snippet and a graceful reload, with health checks and retry settings explained.