Configure a Cloud Connector rule in the dashboard

Last updated Apr 16, 2026 To configure a Cloud Connector rule in the dashboard:

  1. In the Cloudflare dashboard, go to the Cloud Connector page. Go to Cloud Connector ↗
  2. Select your cloud provider (Cloudflare R2 or an external provider).
  3. 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.

Caution

The bucket URL must follow a specific format according to your provider. 4. Enter a descriptive name for the rule in Cloud Connector name. 5. 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. 6. 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?

YesNo

On this page

Configure a Cloud Connector rule in the - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/rules/cloud-connector/create-dashboard/#page","headline":"Configure a Cloud Connector rule in the dashboard","description":"Create Cloud Connector rules in the Cloudflare dashboard.","url":"https://developers.cloudflare.com/rules/cloud-connector/create-dashboard/","inLanguage":"en","image":"https://developers.cloudflare.com/rules/cloud-connector/create-dashboard/og.png?v=9eebfbcb7a5d7f8d","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Create Cloud Connector rules using the Terraform Cloudflare provider. title: Configure Cloud Connector rules using Terraform image: https://developers.cloudflare.com/rules/cloud-connector/create-terraform/og.png?v=d753769ca14ea0ea


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/rules/llms.txt
Use this file to discover all available pages before exploring further.