There's an SEO issue where we have duplicate domains ..
For example - www.domain.com and domain.com. I would like to recreate a 301 redirect from the apex website (www.domain.com) to the non-apex URL (domain.com)
Our UI application is hosted on GCP/GKE. I have found annotations for nginx type ingress to create such redirect .. but in our case, we're using GCP native ingress instead.
Any help or documentation will be highly appreciated. Nothing I found currently suits my needs.
I think this documentation will help you in this case. (https://cloud.google.com/load-balancing/docs/https/setting-up-global-traffic-mgmt#configure_a_url_redirect)