This is Cloud CDN. I have created a bucket and a load balancer with a host and path rules like this:
Host: images.example.com Path: /* –> Bucket
I created an “A” DNS record image.example.com that points to the IP of the load balancer
The CORS policy for the bucket in my server includes: “http://www.example.com“, “images.example.com“, “http:00.00.00” (IP of load balancer)
There is an Origin: http://www.example.com in the request header and an Access-Control-Allow-Origin: http://www.example.com in the response header
The resource being requested is: http://images.example.com/<bucket object path>
Request
Response
Why am I getting this error and what should I check besides what I’ve done?
Thanks!