Adding Plugins to an existing Caddy install

Apologies if this has been asked countless times, or is a bit obvious. But, I’ve not found a clear answer.

If I where to install Caddy using the following command:
curl https://getcaddy.com | bash -s dyndns

And then, at a later date I wished to add some plugins to the established install, would running:
curl https://getcaddy.com | bash -s dyndns,http.awses,http.awslambda

Keep my existing install intact and just add the requested plugins?

Thanks

1 Like

Hi @Psybernoid,

On *nix systems, running this command will replace the Caddy binary on disk, but won’t do anything to the running process (it will keep serving your site(s) until you take it down) or to your Caddyfile / configuration.

Once the binary is replaced, it’s up to you to shut Caddy down and start it again with the new binary, or you can signal it with USR2 for Caddy to gracefully reload itself with the new binary (e.g. pkill -SIGUSR2 caddy).

Ok, that makes perfect sense. Thanks

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.