Reverse proxy with authentication using erlend/caddy Docker image.
- Clone this repository.
- Pull the docker image:
docker pull erlend/caddy
. - Generate a Tailscale "Auth key": Tailscale Settings - Keys.
- Create a plain text file named
authkey.txt
in this directory and paste the key from step 2 into the file and save it. - Start the service:
docker compose up
. - Verify that the proxy is up with
curl example
or by browsing http://example. Note: MagicDNS required. Alternatively find the ip-address of the "example" machine here: Tailscale Machines and connect to http://100.x.x.x