For example, I have a domain named mysite.com, and I want to configure these subdomains:
- a.b.mysite.com ( success, not so easy)
- a.b.c.mysite.com ( failed )
How to do this in Caddy?
Currently I managed to setup wild card ssl certificate for a.mysite.com and a.b.mysite.com by this kind of config:
*.test-ddns.com *.eth.test-ddns.com {
reverse_proxy 127.0.0.1:4567
log {
output file /var/log/access-wildcard-test-ddns.log
}
tls {
dns cloudflare <dns-edit-pub-key>
}
}