-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ready to use Dockerfile #14
Comments
You could try the instructions on our official Docker image for "Building your own Caddy-based image": https://hub.docker.com/_/caddy |
Good idea... I came up with this:
minimal
but it does not yet work. Tailscale Admin Console shows the device (it also gets an IP) but the command does not seem to be successful. With a lot of tinkering (of Any help? |
That's good progress...
What is the error? |
This error happens when the command is run manually inside the container after starting
Error during connecting to
if i bind differently it does work for HTTP only:
Access via
Results in:
|
At this point, I'm guessing @willnorris or @Xe would have a better clue... |
Running
(which according to the docs) is needed result in a parsing error. Is TLS not supported by the tailscale-proxy command? |
This is the setup I use and can confirm that it works: https://gist.github.com/clly/567713da815f59b97d50e5f712ad1167 The only suggestion I have is to use a Caddyfile to confirm that works as an experiment. |
mhh maybe i should have reported back... |
@falknerdominik Very interesting, thank you! As far as I can tell you're not using the Tailscale Caddy plugin but rather start a Tailscale daemon separately and then make use of Caddy's native support for Tailscale to have it connect to Tailscale, obtain TLS certs, etc.? |
This largely mirrors the default Caddy image. Updates #14
This largely mirrors the default Caddy image. Updates #14 Signed-off-by: Will Norris <will@tailscale.com>
This largely mirrors the default Caddy image. Updates #14 Signed-off-by: Will Norris <will@tailscale.com>
This largely mirrors the default Caddy image. Updates #14 Signed-off-by: Will Norris <will@tailscale.com>
Question:
As i understand it a could use this extension to generate a docker image which can be used as a base for a reverse proxy.
So starting the image it could create a device in tailscale and setup up https certs. Then the caddy plugin could forward all traffic to an remote host.
How would i accomplish that or did i misunderstand something?
The text was updated successfully, but these errors were encountered: