github twitter email rss
Caddy
0001 Jun 1
One minute read

Caddy

Caddyfile: /etc/Caddyfile
Sites root: /srv
$HOME/.caddy

docker run -d \
  -e "CADDYPATH=/etc/caddycerts"
  -v $(pwd)/caddycerts:/etc/caddycerts \
  -v $(pwd)/root:/srv \
  -v $(pwd)/Caddyfile:/etc/Caddyfile \
  -p 80:80 -p 443:443 \
  abiosoft/caddy

Caddyfile

dmitrywolf.com {
  tls i@dmitrywolf.com 
  gzip
  root /srv
  log access.log
}


Back to posts


comments powered by Disqus