Rewrite subdomain to live on another main domain's path

I have frontend service that runs on: and a render node service that runs on

Because of firewall policy of some of our clients, we need to have both services running on the same domain.

So the API service has to move from

Does anyone know of a way to do it via cloudflare? I was thinking of using workers but not sure if it’s the most elegant way.

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