mtzanidakis / tsrp

HTTPS reverse proxy for Tailscale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTPS reverse proxy for Tailscale

Expose web services to your tailnet as separate devices, with TLS.

Configuration

The following configuration options are available, passed as environment variables:

  • BACKEND: the backend service url, default: http://127.0.0.1:8080.
  • HOSTNAME: the tailnet hostname for the service.
  • PORT: the port the service listens on, default: 443.
  • STATE_DIR: the state store directory, default: /var/lib/tsrp.
  • TS_AUTHKEY: the auth key to create the node in Tailscale.
  • VERBOSE: show tailscale logs, default: false.

Usage

Enable HTTPS and create an auth key in Tailscale.

The proxy can be used in docker compose as a sidecar to any HTTP service. For an example check the docker-compose.yml.

About

HTTPS reverse proxy for Tailscale

License:MIT License


Languages

Language:Go 69.6%Language:Dockerfile 21.2%Language:Makefile 8.3%Language:Shell 0.9%