How to change caddy SSL folder

(Noam) #1

We’re trying to change the folder to a new share folder and we can’t understand how to do that in Ubuntu.
We tried this line:
export CADDYPATH=/etc/caddy_ssl_efs
But still nothing change.

Can you please help me with the line I need to write? thx!

(Matthew Fay) #2

That’s the correct variable, it should work if you run caddy from the command line after setting it.

If you run Caddy some other way - like an init system - you’ll need to ensure that variable is set for the environment it’s run in.