-
Hi there! Is there possible to forward multiple ports through a single hostname? For example, if I had a single service that exposed the ports 80, 90, and 8000, would it be possible to access them using service.tail1234.ts.net, service.tail1234.ts.net:90 and service.tail1234.ts.net:8000? I'm not quite sure what "Caddy" is, and the reverse proxy documentation doesn't answer my question I think. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, with the "tailscale funnel" and Magic DNS, you can even expose your containers to the larger network. I find this approach (from Tailscale Devs) easier than the |
Beta Was this translation helpful? Give feedback.
-
Hello @rmortes, if you want to share multiple services on different ports through a single Tailscale hostname then tailscale-caddy-proxy is not what you are looking for. You want to use either the standard Tailscale docker container in that case, or consider adding Tailscale (the binary) directly to the container you are building. The reason why I created tailscale-caddy-proxy was because:
Best regards, |
Beta Was this translation helpful? Give feedback.
Hello @rmortes,
if you want to share multiple services on different ports through a single Tailscale hostname then tailscale-caddy-proxy is not what you are looking for. You want to use either the standard Tailscale docker container in that case, or consider adding Tailscale (the binary) directly to the container you are building.
The reason why I created tailscale-caddy-proxy was because:
tailscale serve
did not yet exist