I’m running into an issue while trying to geo load-balance Google Cloud Run functions and was wondering if I’m missing something.
- 4 cloud run services deployed in various regions under different
- A single
api.mydomain.comdomain to load-balance traffic to these services
- After setting up the Load Balancer and pools
api.mydomain.comwill show a 404 page from Google
- I assume Google doesn’t know how to route the request internally as the SNI (or Host header) from the Cloudflare request containing
- Unfortunately adding
api.mydomain.comas a custom domain to all Google services is not possible as they must be unique (which makes sense)
- Is there a way to rewrite the Host/SNI domain when the CF Load balancer is requesting data from a specified origin server? E.g. if Cloudflare would use the
xxx.a.run.apporigin domain instead of
api.mydomain.comall should be good?
Thanks a lot!