--- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: gitea-http namespace: gitea spec: entryPoints: - websecure routes: - match: Host(`{{ git.domain }}`) kind: Rule services: - name: gitea-http port: 3000 tls: certResolver: letsencrypt_dns --- apiVersion: traefik.io/v1alpha1 kind: IngressRouteTCP metadata: name: gitea-ssh namespace: gitea spec: entryPoints: - ssh routes: - match: HostSNI(`*`) priority: 10 services: - name: gitea-ssh port: 22 weight: 10