Google has well-documented instruction on how to deploy a https-enabled static website on cloud bucket.
I followed this Instruction and get my website deployed on cloud bucket with a SSL certificate. After finished the instruction, there are two load balancer created:
1. one I created for https protocol - this has the bucket as backend,
2. the other google automatically created for http-to-https redirect - this does not have backend.
The website is working fine. However, when I use www.mydomain.com and mydomain.com to visit my site, I can see the URLs in the browsers remain two different URLs.
So, I want to redirect www traffic to non-www traffic. I have done a bit search for about 2 days, but no magic.
If anyone has the solution, I will be really appreciated.