5 ms·
I rave about Caddy. Worth it just to never have to think about HTTPS again. We used to have an Nginx+certbot docker container and it was fragile at best, but mi
by crummy 5y ago
I rave about Caddy. Worth it just to never have to think about HTTPS again. We used to have an Nginx+certbot docker container and it was fragile at best, but migration to Caddy was very easy.
One feature it has that I love: If a request comes in but a backend is down, instead of returning an error it'll wait a set amount of time for the backend to come up, then forward the request. This means you can do zero-downtime deploys with nothing more complicated than "docker-compose up -d". I know that there are better ways to do true seamless deploys but they all introduce enough complexity to a system that we want to keep as simple as possible.
- number6 5y agoFor docker I use traefik2 and i really like how it integrates; you can also set up a zero downtime setup
- mholt 5y agoI like that feature too! Someone else just wrote about it this week: https://til.simonwillison.net/caddy/pause-retry-traffic https://til.simonwillison.net/caddy/pause-retry-traffic