mirror of https://github.com/tailscale/tailscale/
tsweb: add FQDN to Port80Handler to allow HTTPS redirects
When the request comes in say over http://mon, the current implementation would rewrite it https://mon which causes the cert validation to fail. This PR keeps the existing behavior intact but also allows passing in a FQDN to the handler to reroute to the correct hostname. Related to https://github.com/tailscale/tailscale/pull/4208#pullrequestreview-913832340 Signed-off-by: Maisem Ali <maisem@tailscale.com>pull/4216/head
parent
7f3d0992aa
commit
309c0a13a5
Loading…
Reference in New Issue