Using Resolve Override in Page Rules

https://support.cloudflare.com/hc/en-us/articles/206190798?input_string=resolve+override profiles using a subdomain as the origin for a subdirectory. What about the other way? We would like to proxy the content that is served on the origin server in a subdirectory: example.com/topic/* as topic.example.com/*

How suitable are Resolve Overrides to this purpose? Are there any “gotchas?”

There was a series of blog posts on this topic.

This gotcha is that that resolve override does not change the path, so toxic.example.com/something --> example.com/something. You can use workers to change the path, as described in part 2 of the blog posting.

1 Like