feat(k8s): Route oslo.pub to nginx in ingress
This commit is contained in:
parent
785a5a2997
commit
a0089892dd
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue