Cloudflare worker not running on path despite having proxy

I have a proxy for mycloudsafari.com root domain with a cloudfront worker that redirects requests at the paths *mycloudsafari.com/blog* and serves content from ghost.mycloudsafari.com/blog - the worker and url path don’t seem to be getting hit, it’s going straight to the IP address of the other server without going through the worker (Next JS 404 page being served).

In the worker dev URL the preview works (I.e. going to https://blog-trigger-2.cloudsafari-blog.workers.dev/blog/ ) but the actual domain for mycloudsafari.com/blog just goes to my 404 page on Next JS. Would love some help on this again, thanks.