How to access Edge Rules
1
Navigate to your Pull Zone
Go to CDN in the dashboard and select the pull zone you want to
configure.
2
Open Edge Rules
Click on the Edge Rules tab in the pull zone settings.
3
Add a new rule
Click Add Edge Rule to create a new rule with your desired action and
trigger conditions.
What can Edge Rules do?
Edge Rules support a variety of actions that execute at different layers of the CDN:| Action | Description |
|---|---|
| Force SSL | Redirect HTTP requests to HTTPS |
| Redirect to URL | Redirect requests to a different URL |
| Change Origin URL | Route requests to a different origin server |
| Override Cache Time | Set custom cache duration for matching requests |
| Block Request | Block requests that match certain conditions |
| Set Response Header | Add or modify response headers |
| Set Request Header | Add or modify headers sent to the origin |
| Force Download | Force the browser to download the file |
| Disable/Enable Token Authentication | Control token authentication per request |
| Override Browser Cache Time | Set custom browser cache duration |
| Set Network Rate Limit | Limit bandwidth for matching requests |
Guides
Trigger Path Setup
Learn how to correctly configure trigger paths with wildcards and pattern
matching.
Custom Cache Time
Set custom cache durations for specific file extensions.
Redirect Hostname
Redirect your b-cdn.net hostname to a custom domain.
Direct IP Origin
Connect directly to an origin IP with a custom hostname.
Reference
Dynamic Variables
Complete list of variables available in Edge Rule actions.
Variable Expansion
Use variable expansion syntax to create dynamic rule values.
Rule Ordering
Control execution order and understand rule priority.