--- # See infrastructure/vps-standby/vault/manifests/ingress.yaml for the # vps.huskypup.net subdomain design rationale, and for why this # https-redirect Middleware is needed (found live 2026-08-21 diagnosing # the exact same symptom on this app's OIDC login). apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: https-redirect namespace: gitea spec: redirectScheme: scheme: https permanent: true --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: vps-gitea namespace: gitea annotations: cert-manager.io/cluster-issuer: letsencrypt-production traefik.ingress.kubernetes.io/router.middlewares: gitea-https-redirect@kubernetescrd spec: ingressClassName: traefik tls: - hosts: - gitea.vps.huskypup.net secretName: vps-gitea-tls rules: - host: gitea.vps.huskypup.net http: paths: - path: / pathType: Prefix backend: service: name: vps-gitea-http port: number: 3000