mirror of
https://github.com/wahyd4/golink.git
synced 2026-08-09 05:05:56 +10:00
golink: listen on HTTPS and redirect HTTP traffic Updates tailscale/golink#9 Fixes tailscale/golink#29 On tailnets with HTTPS enabled golink will serve the primary endpoints via HTTPS. With HTTPS enabled golink will respond to HTTP traffic with a separate redirectHandler which redirects requests to their HTTPS equivalent. Update documented examples of `curl` to include the `-L` flog to follow these redirects if present. Add a HTTPS section to the README documenting all of the above. Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>