diff options
author | Vincent Ambo <mail@tazj.in> | 2019-09-02T18·04+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02T18·04+0100 |
commit | 2f239426aa4b9783c301a0ecbb4a9a4fd8b8e6dd (patch) | |
tree | 6656efbc41e5dd9c90759b7773538ac064666d54 /infra/kubernetes/https-lb | |
parent | 4bd6d528008c6a8a7357a2c40013931800582252 (diff) | |
parent | e2feae3387e5d95715bdd27cd62753a18abf16bd (diff) |
Merge pull request #2 from tazjin/refactor/nixos-nginx-cleanup r/73
Remove old NixOS config and move oslo.pub
Diffstat (limited to 'infra/kubernetes/https-lb')
-rw-r--r-- | infra/kubernetes/https-lb/ingress.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/infra/kubernetes/https-lb/ingress.yaml b/infra/kubernetes/https-lb/ingress.yaml index 5afb5f3a48e1..03fa2cec0738 100644 --- a/infra/kubernetes/https-lb/ingress.yaml +++ b/infra/kubernetes/https-lb/ingress.yaml @@ -6,10 +6,18 @@ kind: Ingress metadata: name: https-ingress annotations: - networking.gke.io/managed-certificates: tazj-in, www-tazj-in + networking.gke.io/managed-certificates: tazj-in, www-tazj-in, oslo-pub spec: # Default traffic is routed to the blog, in case people go to # peculiar hostnames. backend: serviceName: tazblog servicePort: 8000 + rules: + # Route oslo.pub to the nginx instance which serves redirects + - host: oslo.pub + http: + paths: + - backend: + serviceName: nginx + servicePort: 80 |