alpine-caddy icon indicating copy to clipboard operation
alpine-caddy copied to clipboard

Suggest placing Caddyfile in a folder other than `/root`

Open ramontayag opened this issue 8 years ago • 0 comments

I'm using Kubernetes, and mounted a volume on /etc, which contains Caddyfile. DNS wasn't working as expected, and it's because I overwrote /etc/resolv.conf.

It's a minor thing but perhaps suggesting it be mounted on a more specific folder will make it less like that others fall into the same trap? Perhaps /etc/caddy.

I resolved mine by specifing the command to run to include -conf /path/to/my/Caddyfile

ramontayag avatar Feb 01 '17 05:02 ramontayag