tangled
alpha
login
or
join now
sr.aux1.dev
/
tsproxy
2
fork
atom
HTTP reverse proxy for Tailscale
2
fork
atom
overview
issues
pulls
1
pipelines
wait for the two tailscale IPs to be ready
Simon Rozet
2 years ago
91dbe991
a5739418
+3
1 changed file
expand all
collapse all
unified
split
main.go
+3
main.go
reviewed
···
150
150
if err != nil {
151
151
return fmt.Errorf("tailscale: get node status: %w", err)
152
152
}
153
153
+
if v := len(st.Self.TailscaleIPs); v != 2 {
154
154
+
return fmt.Errorf("want 2 tailscale IPs, got %d", v)
155
155
+
}
153
156
154
157
// service discovery targets (self + all upstreams)
155
158
targets := make([]target, len(upstreams)+1)