Rewrite not working with CloudFlare Workers


I wanted to mask the URL with CloudFlare workers someone from CF supported suggested me this

But doesn’t seem working for me with workers.

Do you mean: you have something e.g. images in, but you want to serve it via your domain e.g.

If yes, I think you need to refer to this doc instead: