apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ttrss-ingress annotations: # nginx.ingress.kubernetes.io/rewrite-target: / cert-manager.io/cluster-issuer: prod-cluster-issuer nginx.ingress.kubernetes.io/ssl-passthrough: "true" # If you encounter a redirect loop or are getting a 307 response code # then you need to force the nginx ingress to connect to the backend using HTTPS. # nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" namespace: ttrss spec: ingressClassName: nginx rules: - host: rss.hensen.io http: paths: - path: / pathType: Prefix backend: service: name: web-nginx port: name: http # TLS configuration for HTTPS tls: # TLS secretName used on ClusterIssuer - secretName: letsencrypt-prod hosts: - rss.hensen.io