fix(ops/infra/k8s): Send www.* to nginx for redirections
This commit is contained in:
parent
1fa3316ca1
commit
4a18b3971a
1 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue