My Caddy has been running stable, but now I’m trying to add a sub-domain. I’ve been using tls cloudflare and dyndns for a few weeks now without issue. I’m not sure how to incorporate a sub-domain with those options enabled though. Any tips? I have been unable to find examples to help with this.
This Caddyfile will not load
domain.com www.domain.com {
root /var/www/domain.com
}
wiki.domain.com {
proxy / 192.168.5.10 {
transparent
}
}
tls {
dns cloudflare
}
dyndns {
provider cloudflare
ipaddress http://whatismyip.akamai.com/
auth APIKEY e-mail
domains domain.com www.domain.com wiki.domain.com
period 15m
}