diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-09T01·54+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-09T01·54+0000 |
commit | 4a18b3971a533232c11c03afe6a971a1a6988066 (patch) | |
tree | 9d0d236ebfc153cf9a8a9882a80392e29c99e415 /ops | |
parent | 1fa3316ca1e01a529f0084cd846cc336853d4e57 (diff) |
fix(ops/infra/k8s): Send www.* to nginx for redirections r/506
Diffstat (limited to 'ops')
-rw-r--r-- | ops/infra/kubernetes/https-lb/ingress.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ops/infra/kubernetes/https-lb/ingress.yaml b/ops/infra/kubernetes/https-lb/ingress.yaml index b50ea21ceefb..930affec7a15 100644 --- a/ops/infra/kubernetes/https-lb/ingress.yaml +++ b/ops/infra/kubernetes/https-lb/ingress.yaml @@ -9,7 +9,7 @@ metadata: networking.gke.io/managed-certificates: tazj-in, git-tazj-in, www-tazj-in, oslo-pub spec: rules: - # Route blog to the blog ... + # Route website to, well, the website ... - host: tazj.in http: paths: @@ -17,6 +17,14 @@ spec: backend: serviceName: website servicePort: 8080 + # Same for www.* (the redirect is handled by the website nginx) + - host: www.tazj.in + http: + paths: + - path: /* + backend: + serviceName: website + servicePort: 8080 # Route git.tazj.in to the cgit pods - host: git.tazj.in http: |