docker run -d --network host --name caddy -p 80:80 -p 443:443 -v $(pwd)/Caddyfile:/etc/caddy/Caddyfile -v $(pwd)/caddy_data:/data caddy/caddy
{
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
email [email protected]
}
doesnt-exists.com {
reverse_proxy {
header_up X-Forwarded-Proto https
to localhost:5000
}
}