5 ms·
Cloudflare error page generator
- hk1337 10mo agoCan 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?
- zamadatix 10mo agoI 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.
- esseph 10mo agoOn 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.
- thewisenerd 10mo agothe 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-error-pages/ https://developers.cloudflare.com/rules/custom-errors/edit-e...
- esseph 10mo ago> Error Pages do not apply to responses with an HTTP status code of 500, 501, 503, or 505. These exceptions help avoid issues with specific API endpoints and other web applications. You can still customize responses for these status codes using Custom Error Rules. From that page ;)
- ascorbic 10mo agoThis works for errors at the origin or in a Worker, but won't for errors at the edge, because those are in front of Workers.
- kekub 10mo agoI think Gemini refers to Web Workers API rather than a Cloudflare Worker. And that should work indeed.
- thm 10mo agoYou can, on the $30 plan - you can give it a hidden url on your current domain and it will cache & serve that content.
- slig 10mo agoI've been thinking about returning a fake error page instead of the "you are banned" or "you country has been blocked".
- yjftsjthsd-h 10mo agoWell, that's one way to show contempt for your users.
- slig 10mo agoI feel no obligation to be polite to rude guests.
- wheybags 10mo agoWhat is this for? I feel like that is missing from the faq. I would say it's a joke, but it looks too serious for that.
- jtbayly 10mo agoIf your site goes down people can assume it’s cloudflare’s fault. You can blend in with the crowd without actually using CF.
- Raed667 10mo agothat's what makes it funnier
- phyzome 10mo agoSpeaking of which, I made this some years ago: https://www.brainonfire.net/rx/the-joke.png https://www.brainonfire.net/rx/the-joke.png
- philipwhiuk 10mo agoIt should spew random garbage at the bottom of the page periodically to mimic Cloudbleed.