route vpn.neuralplatform.ai tunnel directly to headscale, bypass traefik

This commit is contained in:
Will Anderson
2026-04-22 01:38:28 -05:00
parent 075a25fb10
commit 3234d9cee6
+3 -4
View File
@@ -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