Repository navigation
Replies: 1 comment
|
It works fine like this. I now have 1 gateway with multiple listeners. And 2 HTTPRoute with one have backend ref to the Wordpress service, and the other do a 302 redirect to the main domain. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi. I have multiple domains for one web site, and the main domain should be
www.site.comand other domains should just redirect to the main site with 302. What is the best/correct way to do that with the new Kubernetes Gateway API? All domains should also request a certificate via cert-manager from LetsEncrypt with Http0 method.Right now I have just one Gateway for each domain and one HTTPRoute for each domain that use the gateways.
I think this is not optimal. Can I have just one Gateway and two HTTPRoute like this:
I'm not familiar with the new Gateway API. Just looking for input how to do that property. It should work like this?
All reactions