The latest caddy with the experimental Tailscale Caddy plugin
Set one of the following environment variables to authenticate with Tailscale. The "Auth key" can be created on the Keys Settings page if you haven't done so already.
Name | Description |
---|---|
TS_AUTHKEY |
Tailscale Auth key |
TS_AUTHFILE |
Read authkey from this file instead of TS_AUTHKEY |
Alternately TS_AUTHKEY_<NODE>
or TS_AUTHFILE_<NODE>
as described here.
You can see a working example here.