I added this line to my caddyfile for a local development caddy server:
tls self_signed
Complete caddyfile is:
:2021 {
root C:\sites\1
log “” access2019.log “{remote} | {>User-Agent} | {user} | {when} | {method} | {uri} | {proto} | {status} | {size} | {latency_ms}”gzip
on startup php_cgi2.bat &
fastcgi / 127.0.0.1:6545 php
tls self_signed
}
I get this error:
2019/03/04 19:39:27 self-signed: certificate has no names
Is the documentation current on this feature?