diff --git a/servers/legion/main.tf b/servers/legion/main.tf index a49784c..6456fb6 100644 --- a/servers/legion/main.tf +++ b/servers/legion/main.tf @@ -103,6 +103,21 @@ resource "cloudflare_tunnel_config" "legion" { } } + # git.neuralplatform.ai — Gitea web UI (HTTP via Traefik) + ingress_rule { + hostname = "git.neuralplatform.ai" + service = "https://traefik.kube-system.svc:443" + origin_request { + no_tls_verify = true + } + } + + # ssh.git.neuralplatform.ai — Gitea SSH (direct to NodePort 30022) + ingress_rule { + hostname = "ssh.git.neuralplatform.ai" + service = "ssh://localhost:30022" + } + # Catch-all — must be last ingress_rule { service = "http_status:404"