diff --git a/kubernetes/ingress.yaml b/kubernetes/ingress.yaml index 5c3d084..0b338cb 100644 --- a/kubernetes/ingress.yaml +++ b/kubernetes/ingress.yaml @@ -8,11 +8,11 @@ metadata: cert-manager.io/cluster-issuer: "letsencrypt-prod" nginx.ingress.kubernetes.io/configuration-snippet: | real_ip_header CF-Connecting-IP; + nginx.ingress.kubernetes.io/from-to-www-redirect: "true" spec: tls: - hosts: - nanopaperwallet.com - - www.nanopaperwallet.com secretName: nanopaperwallet-com-server-secret rules: - host: nanopaperwallet.com @@ -25,13 +25,3 @@ spec: name: nanopaperwallet port: number: 5000 - - host: www.nanopaperwallet.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: nanopaperwallet - port: - number: 5000