Created
July 7, 2022 13:27
-
-
Save nshalman/171d27c37fe1fccc359aeb8bf701923c to your computer and use it in GitHub Desktop.
Tailscale caddyfile with redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
default_bind 127.0.0.1 | |
} | |
nodename.tailthing-scalething.ts.net { | |
bind nodename.tailthing-scalething.ts.net | |
reverse_proxy 127.0.0.1:8080 | |
} | |
http://nodename { | |
redir https://nodename.tailthing-scalething.ts.net{uri} | |
bind nodename.tailthing-scalething.ts.net | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment