Skip to content

Commit d6a113b

Browse files
authored
[Rules] Update Origin Error Pages (#26405)
1 parent 408b344 commit d6a113b

File tree

5 files changed

+39
-31
lines changed

5 files changed

+39
-31
lines changed

src/content/docs/learning-paths/surge-readiness/concepts/custom-pages.mdx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,14 @@ sidebar:
55
order: 2
66
---
77

8+
import { Render } from "~/components";
9+
810
Design your custom HTML page and host it online anywhere. Once published, Cloudflare will use the customized page instead of serving our standard page to your visitors.
911

1012
:::note[Note]
11-
We encourage you to customize every page to provide a consistent branding experience for your users. Origin Error pages can also be activated for 502, 504, and 404 errors.
13+
We encourage you to customize every page to provide a consistent branding experience for your users. You can also [turn on Origin Error Pages](/rules/custom-errors/#error-pages) for 5XX errors (except errors `520`-`527`).
1214
:::
1315

1416
Pages you can customize:
1517

16-
- IP Block
17-
- WAF Block
18-
- 500 Class Errors
19-
- 1000 Class Errors
20-
- Always Online Error
21-
- Basic Security Challenge
22-
- WAF Challenge
23-
- Country Challenge
24-
- I'm Under Attack Mode Challenge
18+
<Render file="error-pages-list" product="rules" />

src/content/docs/rules/custom-errors/edit-error-pages.mdx

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,18 @@ sidebar:
55
order: 2
66
---
77

8-
import { Details, DashButton, Steps, Tabs, TabItem } from "~/components";
8+
import {
9+
Render,
10+
Details,
11+
DashButton,
12+
Steps,
13+
Tabs,
14+
TabItem,
15+
} from "~/components";
916

1017
You can define custom [Error Pages](/rules/custom-errors/#error-pages) for the following errors and challenges:
1118

12-
- WAF block
13-
- IP/Country block
14-
- IP/Country challenge
15-
- 500 class errors
16-
- 1000 class errors
17-
- Managed challenge / I'm Under Attack Mode
18-
- Rate limiting block
19-
20-
<Details header="Older error page types">
21-
22-
You can only customize the error pages for the following error page types if you have customized their error pages in the past:
23-
24-
- Interactive Challenge
25-
- JavaScript Challenge
26-
27-
These types of challenges are being discouraged in favor of managed challenges.
28-
29-
</Details>
19+
<Render file="error-pages-list" product="rules" />
3020

3121
For more information on the different types of Error Pages, refer to [Error page types](/rules/custom-errors/reference/error-page-types/).
3222

src/content/docs/rules/custom-errors/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Error Pages do not apply to responses with an HTTP status code of `500`, `501`,
5656

5757
If you are on a Cloudflare paid plan, you can create custom error pages at the zone level or for your entire account. Zone-level error pages have priority over account-level error pages.
5858

59-
Additionally, Enterprise customers can customize 5XX error pages (except errors `520`-`527`) at their origin via **Enable Origin Error Pages** in **Error Pages** in the dashboard.
59+
Additionally, Enterprise customers can customize 5XX error pages (except errors `520`-`527`) at their origin by turning on **Origin Error Pages** in **Error Pages** in the dashboard.
6060

6161
You can design custom error pages to appear during a security challenge or when an error occurs. For more information on the different error page types, refer to [Error page types](/rules/custom-errors/reference/error-page-types/).
6262

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
{}
3+
---
4+
5+
import { Details } from "~/components";
6+
7+
- WAF block
8+
- IP/Country block
9+
- IP/Country challenge
10+
- 500 class errors
11+
- 1000 class errors
12+
- Managed challenge / I'm Under Attack Mode
13+
- Rate limiting block
14+
15+
<Details header="Older error page types">
16+
17+
You can only customize the error pages for the following error page types if you have customized their error pages in the past:
18+
19+
- Interactive Challenge
20+
- JavaScript Challenge
21+
22+
These types of challenges are being discouraged in favor of managed challenges.
23+
24+
</Details>

src/content/plans/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@
12821282
"ent": "Yes"
12831283
},
12841284
"z_origin_error_pages": {
1285-
"title": "Enable Origin Error Pages",
1285+
"title": "Origin Error Pages",
12861286
"free": "No",
12871287
"pro": "No",
12881288
"biz": "No",

0 commit comments

Comments
 (0)