Skip to content

Commit 8bb5e41

Browse files
authored
changelog: improve prose in rules CL
1 parent 0d7dfd5 commit 8bb5e41

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/content/changelog/rules/2025-02-11-custom-errors-beta.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ products:
66
date: 2025-02-11T11:00:00Z
77
---
88

9-
Cloudflare introduces [Custom Errors](/rules/custom-errors/) (beta), building on Custom Error Responses with new asset storage capabilities. This update allows users to store externally hosted error pages at Cloudflare edge and reference them in custom error rules, eliminating the need to supply inline content.
9+
We're introducing [Custom Errors](/rules/custom-errors/) (beta), which builds on our existing Custom Error Responses feature with new asset storage capabilities.
1010

11-
New capabilities:
11+
This update allows you to store externally hosted error pages on Cloudflare and reference them in custom error rules, eliminating the need to supply inline content.
12+
13+
This brings the following new capabilities:
1214

1315
- **Custom error assets** – Fetch and store external error pages at the edge for use in error responses.
1416
- **Account-Level custom errors** – Define error handling rules and assets at the account level for consistency across multiple zones. Zone-level rules take precedence over account-level ones, and assets are not shared between levels.
1517

16-
To store an external error page on the Cloudflare global network, submit a `POST` request to create an asset:
18+
You can use Cloudflare API to upload your existing assets for use with Custom Errors:
1719

1820
```bash
1921
curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_pages/assets" \
@@ -26,7 +28,7 @@ curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_pages/assets"
2628
}'
2729
```
2830

29-
Then, reference the stored asset in a custom error rule:
31+
You can then reference the stored asset in a Custom Error rule:
3032

3133
```bash
3234
curl --request PUT \

0 commit comments

Comments
 (0)