I have a caddyfile with a subdomain like “my.domain.com” it should be running with (auto-)TLS.
It is served HTTP only.
If I add prefix schema “https://” it works fine with auto TLS + LE cert.
Why I have to add schema? caddy is started with -port 80 and can bind to 80 and 443. That works fine if I add https:// scheme. So it looks like a caddyfile / caddy problem?
my.domain.com {
proxy / <IP>:<PORT> {
transparent
}
# log files
log / stdout "{remote} - {user} [{when}] \"{method} {scheme}://{host}{uri} {proto}\" {status} {size} \"{>Referer}\" \"{>User-Agent}\""
errors stdout
}
Any idea?
# caddy -version
Caddy 0.10.10 (+1125a23 Thu Nov 23 14:50:45 UTC 2017) (unofficial)