/tproxy

Container-based HTTPS proxy for Tailscale

Primary LanguageGo

TProxy

Docker Hub

TProxy is a container-based HTTPS proxy for Tailscale. It's based on this blog post by Richard North, but is designed to be used with Tailscale's TLS certs feature.

Options

TProxy can be configured using the following environment variables:

Variable Description
TPROXY_TARGET_ADDR The target address for the proxy e.g. http://some-container:3000
TPROXY_USER_HEADER A header in which the proxy will write the Tailscale login name of a request's remote address, not used by default
TPROXY_TAILSCALE_AUTH_KEY An auth key from Tailscale
TPROXY_TAILSCALE_HOST_NAME The hostname for tailscaled