And if you need plugins, these instructions let you swap out the binary:
Caddy has a caddy upgrade command that will download the latest version with the same set of plugins in your current binary, then replace the binary (remember to restart your server after doing so).
Thanks. I’m aware of the documentation but not a fan of the dpkg-divert and update-alternatives workaround to make plugins work and the fact that an apt upgrade will no longer update caddy.custom.