Show all your application error using Cloudflare Error Page
11 points
3 hours ago
| 1 comment
| github.com
| HN
hk1337
2 hours ago
[-]
Can you actually customize that Cloudflare error page? I thought that was their error page when they lose connection with your site and custom error pages was just the ones your app creates, like 404, 403, etc?
reply
zamadatix
2 hours ago
[-]
I think the intent is for joke pages, like the demo link which acts like error 500 saying the host is on fire etc but really serves as 200 OK, not your actual Cloudflare service errors.
reply
esseph
1 hour ago
[-]
On free plans you can't, on business/enterprise plans you can.

Edit: Gemini says you could make a custom worker and do a 5XX redirect that way, but I haven't tried it. Does make sense though.

reply
thewisenerd
55 minutes ago
[-]
the custom error page is configurable at a domain (zone) level

which sometimes gets annoying because branding for subdomains could be different.

https://developers.cloudflare.com/rules/custom-errors/edit-e...

reply