How to replicate certificate across Caddy servers running in different docker containers

I have Caddy inside Docker which request auto provisioning of TLS certificate on demand and stores as per it’s Linux home path.

Similar mappings for reverse proxy is also stored via its API.

Say I need to start few more containers and replicate this configuration is this possible. Like mounted volumes to refer for TLS and Mappings for reverse proxy handlers ?

If I mount volumes over SAN or NAS we should be good right?

And reverse proxy if hit on one caddy server and replicate to other instances requires reboot of other instance?

If you give the Caddy containers the same storage volume, then they will use the storage as a medium for setting up locks when doing the certificate maintenance steps.

I don’t understand this question, could you clarify exactly what you’re asking?

1 Like

This topic was automatically closed after 180 days. New replies are no longer allowed.