-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
https://foo.tailf123a.ts.net {
bind tailscale/foo
reverse_proxy localhost:3000
}
https://bar.tailf123a.ts.net {
bind tailscale/bar
reverse_proxy localhost:5000
}
Two domains are declared in the previous caddyfile. After starting caddy, only the first domain I visit will resolve correctly. The second one will never resolve. For example:
- Start caddy.
- Go to
https://foo.tailf123a.ts.net
- Caddy does its tls thing and I'm able to connect.
- Now go to
https://bar.tailf123a.ts.net
. - Caddy this time tries to do a
http-01
challenge. This always fails. We are unable to connecthttps://bar.tailf123a.ts.net
.
If we restart caddy, and visit https://bar.tailf123a.ts.net
first, then it works. But then we can never conenct to https://foo.tailf123a.ts.net
because that will do a http-01 challenge which fails.
If we declare 3 tailscale https domains in the caddyfile, the first one we visit will resolve correctly and the other 2 always fail.
Metadata
Metadata
Assignees
Labels
No labels