How to correctly configure a Cloudflare Worker as a reverse proxy for Webflow and a WordPress subdirectory?
I am trying to set up a reverse proxy using a Cloudflare Worker to serve content from two different hosting providers under a single domain. main domain is pointed to WebFlow and sub domain is being used for wordpress. Suppose Main domain is abc.com and I want that when someone try to access URL like abc.com/service-page it should open wordpress. I tried cloudflare's worker to achieve that but its not working at all. addEventListener("fetch", event => { event.respondWith(handleRequest(event.request)); }); async function handleRequest(request) { const url = new URL(request.url); const pathname
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.