mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-07 02:37:27 +08:00

Also we change the scheme of the site's address if TLS is enabled and no other scheme is explicitly set; this makes it appear as "https" when we print it; otherwise it would show "http" when TLS is turned on implicitly, and that is confusing/incorrect.