Skip to content

Commit

Permalink
Redirect with a rule instead
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Aug 21, 2022
1 parent 8035590 commit 7715a50
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions kubernetes/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 7715a50

Please sign in to comment.