tailscale-dev / docker-mod

The home for our universal Docker mod
BSD 3-Clause "New" or "Revised" License
47 stars 26 forks source link

only include '/' in tailscale serve for https mode #1

Closed logikal closed 1 year ago

logikal commented 1 year ago

when I set TAILSCALE_SERVE_MODE=tls-terminated-tcp, the following warning appears in the logs:

error: invalid TCP source "/": missing port in address

Along with the usage help for tailscale serve

This change makes it so the run command will only include the / if TAILSCALE_SERVE_MODE=https, as it's the only mode that needs it according to the docs.