Open nodesocket opened 5 years ago
I had the same issue and created a pull request for it: https://github.com/pieterlouw/caddy-net/pull/16
Note that regardless of this bug, the TLS directive should be after the host directive, since it may need the host to generate the certificate. However, this will still not work until the pull request is merged.
Latest Caddy version
v1.0.0 (h1:KI6RPGih2GFzWRPG8s9clKK28Ns4ZlVMKR/v7mxq6+c=)
.Caddyfile is:
Starting with
/usr/local/bin/caddy -log stdout -type=net -conf=/etc/caddy/Caddyfile
Huh? I am explicitly turning
tls off
.