Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Reload Caddy Server on Config Change #91

Open
twiechert opened this issue Mar 7, 2019 · 0 comments
Open

[Improvement] Reload Caddy Server on Config Change #91

twiechert opened this issue Mar 7, 2019 · 0 comments

Comments

@twiechert
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant