Proxy traffic to different subdomain

Hi,
I have a cloudflare pages site with different branches: master and beta. I want users from selected countries to receive content from beta branch instead of master. Now the problem is, pages create a different subdomain for each branch and it isn’t possible to rewrite a subdomain in transform rules.
I could set up a redirect rule, but that would change domain, causing potential problems with caching. Resources are immutable, so example.com/a123.jpg will always have the same content as beta.example.com/a123.jpg . I also don’t want to use workers.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.