I can't find a way to set up Google's Cloud Storage load balancer's host path and rules to point different domains to their corresponding folders in a single bucket.
I have two domains: foo.com and bar.com and I have a bucket with two folders in it: foo/
and bar/
. I want foo.com to serve files from the foo/
folder and bar.com to serve files from the bar/
folder.
I only see options to point specific domain paths to different buckets (e.g. foo.com/bar/ pointing to another bucket) but not different hosts/domains to different paths in bucket. How can I set up the rules to achieve this?