Proxy requests from main domain to Pages app

I have an ecommerce site on my main domain (Wordpress/Woo) mydomain.co.uk (Cloudflare DNS & proxied) I have react pages app, backed by a D1 database table running on xxx.pages.dev I'd like to proxy all requests for mydomain.co.uk/custom-path/ to xxx.pages.dev I looked at redirects but don't want to do a 3XX and want to preserve the path in the browser - ideally with any path parameters preserved. Is this possible and any pointers please
2 Replies
Erisa
Erisa•4mo ago
You need to use Workers or Snippets
Ossie1971
Ossie1971•4mo ago
Thank you - I see snippets are still in alpha so I'll have a look at workersđź‘Ť All sorted with a worker/worker route
Want results from more Discord servers?
Add your server