Caddyfile - cloudflare/dyndns/subdomains/proxy

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 {
   root /var/www/
} {
   proxy / {

   tls {
      dns cloudflare

dyndns {
   provider cloudflare
   auth APIKEY e-mail
   period 15m

Caddy will output what issue it had when parsing the Caddyfile before exiting. Check the output. Feel free to post it here if you need clarification.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.