HTTP reverse proxy for Tailscale

wait for the two tailscale IPs to be ready

+3
+3
main.go
··· 150 150 if err != nil { 151 151 return fmt.Errorf("tailscale: get node status: %w", err) 152 152 } 153 + if v := len(st.Self.TailscaleIPs); v != 2 { 154 + return fmt.Errorf("want 2 tailscale IPs, got %d", v) 155 + } 153 156 154 157 // service discovery targets (self + all upstreams) 155 158 targets := make([]target, len(upstreams)+1)