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