Darryl
(Darryl Morley)
September 28, 2021, 7:27am
1
Caddy 2
Official Docker Image
Everytime I edit the Caddyfile found at /etc/Caddyfile the container crashes and has to be removed and replaced. I want to use Caddy as a reverse proxy but have tried an initial simple setup of:
domain
tls myemail
Am I editing the file in the wrong location?
janvda
(Jan Van den Audenaerde)
September 28, 2021, 11:41am
2
What works for me:
Create (or update) a Caddyfile
in home folder (I don’t think the actual folder really matters).
In same folder run the command caddy reload
: this normally changes your configuration to what is specified in the Caddyfile
in that folder.
… but I am wondering if your Caddyfile is really correct. Can’t you use a simple example file you can find in the Caddy documentation ?
Please fill out the help topic template. There’s critical information lacking in this post.
1 Like
system
(system)
Closed
October 28, 2021, 7:27am
4
This topic was automatically closed after 30 days. New replies are no longer allowed.