Origin Rules for reverse proxy
I’m setting up a reverse proxy using Cloudflare origin rules and could use some help troubleshooting.
The goal is to have two rules in place:
Is there something I might be missing in the rule setup or ordering that could be causing this conflict? Any insights would be appreciated!
The goal is to have two rules in place:
- Primary Rule: Requests to app.example.com/api/endpoint* (including any query strings) should route to app.otherdomain.com/api/endpoint, passing along any query string parameters.
- Fallback Rule: Requests that do not match the URI patterns described in the primary rule should route to app2.otherdomain.com/whatever.
Is there something I might be missing in the rule setup or ordering that could be causing this conflict? Any insights would be appreciated!