About setting a worker's route when configuring a reverse proxy

Hi there.

I’m trying to set a reverse proxy so that subdomain (blog.example.com) is recognized as a subdirectory (example.com/blog ).

I’m following this post, but the route doesn’t seem to be working correctly https://blog.cloudflare.com/subdomains-vs-subdirectories-improved-seo-part-2/

Now, DNS of my domain is set up like this

example.com → DNS Only
blog.example.com → Proxied

Will this not work unless both domains blog.example.com and example.com are proxied through cloudflare?

Or does it work if only the subdomain is proxied, but I’m missing something and it shouldn’t?

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