If I’m understanding correctly, you have example.com pointing to ghs.googlehosted.com and a Worker also on example.com/* but you still want to access ghs.googlehosted.com from the Worker.
In that case, the Worker just ‘fetches itself’ - fetching the URL the Worker is on will hit the origin. i.e you’ll be passed a request object in your FetchEvent handler, you can just do fetch(request) to pass through the user’s request to the origin.
It is not currently (January 2022) possible to send fetch requests to other Workers (Worker to Worker) within the same zone. The origin server, if any, will receive the request instead.
Fetching itself is still same zone so it goes to the origin.
I have rephrased the title and hope it is easier to understand now: I need to call the origin from a Worker without the Worker knowing anything about the origin, most importantly the URL.
It looks like the self-calling behavior makes that possible.