We use the connect ui in a Kubernetes setup where a sidecar of the connect-ui is notified when a new connect cluster joins. This sidecar updates then the caddy server configuration (mostly proxy settings).
Unfortunately, the caddy server does not restart automatically in case of config changes.
Proposal: use a tool like inotifywait that listens on changes of the caddy config and restart the server using "pkill -USR1 caddy
If you consider this useful as well, I could create a PR for this.