Do you have to restart caddy if you change the caddyfile while it is running for the change to take affect?
If not, is there a way to “refresh” it so it looks at the changed config without having to break the connection for people using sites that are being proxied?
The way you do it depends on how you’re running Caddy (which we would know if you filled out the help thread template), but in general, a graceful config reload is done with the
caddy reload command:
There’s also the --watch flag that probably does what you want!
This topic was automatically closed after 30 days. New replies are no longer allowed.