| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/rules/transform/examples/rewrite-path-object-storage/ | [Back] [Original] |
Create a URL rewrite rule (part of Transform Rules) to remove /files/ from URI paths before routing request to your object storage bucket.
To remove /files/ from URI paths before routing request to your object storage bucket, create a new URL rewrite rule and define a dynamic URL path rewrite using wildcard pattern parameters:
When incoming requests match
https://<YOUR_HOSTNAME>/files/*Then rewrite the path and/or query
/] files/*/] ${1}Make sure to replace <YOUR_HOSTNAME> with your actual hostname and adjust the example paths according to your setup.
Then, use Cloud Connector to route traffic to an object storage bucket.
| Web Proxy Viewer | New URL | Original Page |