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)
|
||||
# Route directly to Headscale — bypasses Traefik which strips the Upgrade: ts2021 header
|
||||
# Cloudflare handles TLS termination; internal connection is plain HTTP
|
||||
ingress_rule {
|
||||
hostname = "vpn.neuralplatform.ai"
|
||||
service = "https://traefik.kube-system.svc:443"
|
||||
origin_request {
|
||||
no_tls_verify = true
|
||||
}
|
||||
service = "http://headscale.headscale.svc.cluster.local:8080"
|
||||
}
|
||||
|
||||
# Catch-all — must be last
|
||||
|
||||
Reference in New Issue
Block a user