4 ms·
One of the big selling points of Caddy for me is that you can reconfigure it "live" without restarting the server. This is great for if you want to be able to
by simonw 3y ago
One of the big selling points of Caddy for me is that you can reconfigure it "live" without restarting the server.
This is great for if you want to be able to do zero-downtime deploys of new applications behind a proxy server or similar.
- mholt 3y agoAbsolutely! Thanks for the feedback, Simon!
- rcme 3y agoI think nginx does that too; if you send it a hup signal, it will reload the config.
- housemusicfan 3y agoIndeed, many programs interpret a kill -HUP signal as a "re-read config" command.
- mholt 3y agoThis is problematic as when you log out your shell, HUP is sent to the web server process unintentionally... (One reason we don't use signals in Caddy 2. So uncivilized.)