We have 3 servers that all the SSL host in a share AWS EFS disk.
We also like to locate the Caddyfile in the share disk so we will need to change it only once when we like to update something.
Does it a good idea to do that? or when one server is restart he can luck the file for other or something?
Will it be better to host the Caddyfile locally?
The Caddyfile can live anywhere that is readable by the Caddy instance(s) using it. Caddy does not modify the Caddyfile.
Hosting it locally can guarantee better availability though if EFS has problems during a time when you are reloading the Caddyfile.
It’s up to you! Both should work though.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.