You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsweb
Maisem Ali 309c0a13a5 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>
2 years ago
..
debug.go all: use any instead of interface{} 2 years ago
debug_test.go all: use any instead of interface{} 2 years ago
jsonhandler.go all: use any instead of interface{} 2 years ago
jsonhandler_test.go all: use any instead of interface{} 2 years ago
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 4 years ago
tsweb.go tsweb: add FQDN to Port80Handler to allow HTTPS redirects 2 years ago
tsweb_test.go all: use any instead of interface{} 2 years ago