route vpn.neuralplatform.ai tunnel directly to headscale, bypass traefik
This commit is contained in:
@@ -172,12 +172,11 @@ resource "cloudflare_zero_trust_tunnel_cloudflared_config" "legion" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# vpn.neuralplatform.ai — Headscale coordination server (Tailscale control plane)
|
# vpn.neuralplatform.ai — Headscale coordination server (Tailscale control plane)
|
||||||
|
# Route directly to Headscale — bypasses Traefik which strips the Upgrade: ts2021 header
|
||||||
|
# Cloudflare handles TLS termination; internal connection is plain HTTP
|
||||||
ingress_rule {
|
ingress_rule {
|
||||||
hostname = "vpn.neuralplatform.ai"
|
hostname = "vpn.neuralplatform.ai"
|
||||||
service = "https://traefik.kube-system.svc:443"
|
service = "http://headscale.headscale.svc.cluster.local:8080"
|
||||||
origin_request {
|
|
||||||
no_tls_verify = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Catch-all — must be last
|
# Catch-all — must be last
|
||||||
|
|||||||
Reference in New Issue
Block a user