https://github.com/mewil/tproxy
Container-based HTTPS proxy for Tailscale
https://github.com/mewil/tproxy
docker proxy tailscale
Last synced: about 1 year ago
JSON representation
Container-based HTTPS proxy for Tailscale
- Host: GitHub
- URL: https://github.com/mewil/tproxy
- Owner: mewil
- Created: 2021-10-01T02:32:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T05:25:15.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T07:42:59.336Z (over 1 year ago)
- Topics: docker, proxy, tailscale
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TProxy
[](https://hub.docker.com/repository/docker/mewil/tproxy)
TProxy is a container-based HTTPS proxy for [Tailscale](https://tailscale.com/). It's based on [this blog post](https://rnorth.org/tailscale-docker/) by Richard North, but is designed to be used with Tailscale's [TLS certs feature](https://tailscale.com/blog/tls-certs/).
## 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](https://tailscale.com/kb/1085/auth-keys/) from Tailscale |
| `TPROXY_TAILSCALE_HOST_NAME` | The hostname for `tailscaled` |