set rules to rewrite and redirect requests through cloudflare to a public access S3 bucket

I have a public access S3 bucket, with a folder structure. I have a URL pattern (say https://<domain>/Sitemap.xml, i want this URL pattern (/Sitemap.xml) to be sent to the S3 bucket, but rewritten to a folder (/Pilot), so the rewritten URL will be <s3-origin>/Pilot/Sitemap.xml
Was this page helpful?