mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-27 03:22:25 +00:00

If the client is connecting over loopback, then avoid the http-to-https redirect since this is connection within the kernel, rather than over untrusted network, and also because https://localhost is unlikely to work as there isn't a CA that issues certs for localhost. Updates tailscale/corp#11038 Signed-off-by: Joe Tsai <joetsai@digital-static.net>