Configure in the dashboard
To configure a Cloud Connector rule in the dashboard:
- 
In the Cloudflare dashboard, go to the Cloud Connector page.
Go to Cloud Connector - 
Select your cloud provider (Cloudflare R2 or an external provider).
 - 
If you selected Cloudflare R2 in the previous step, select your bucket and your custom domain, and select Next.
If you selected a different storage provider, enter the bucket URL and select Next. - 
Enter a descriptive name for the rule in Cloud Connector name.
 - 
Under If, select Custom filter expression and enter an expression to define the traffic that will be redirected to the bucket. For example:
- To route all requests matching 
http*://example.com/images/*(HTTPS and HTTP requests) you could enter the following expression:
http.request.full_uri wildcard "http*://example.com/images/*" - To route all requests matching 
http*://images.example.com/*(HTTPS and HTTP requests) you could enter the following expression:
http.request.full_uri wildcard "http*://images.example.com/*" 
Alternatively, select All incoming requests to redirect all incoming traffic for your zone to the storage bucket you selected.
 - To route all requests matching 
 - 
To save and deploy your rule, select Deploy. If you are not ready to deploy the rule, select Save as Draft.
If you are matching a hostname in your rule expression, you may be prompted to create a proxied DNS record for that hostname. Refer to Troubleshooting for more information.
 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Directory
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- © 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark