When I was on AWS, setting up a 301 redirect for my website from www.example.com
--> example.com
involved simply creating a S3 bucket as a static website and set it up to redirect all traffic to example.com
.
I don't see this option on Google cloud storage and I can't think of any way to do this with the HTTP load balancer.
Is the only way doing it involves patching my backend to notice addresses that start with www and strip the www and redirect ?