logoalt Hacker News

essephtoday at 4:21 AM2 repliesview on HN

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.


Replies

ascorbictoday at 8:09 AM

This 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.

thewisenerdtoday at 5:00 AM

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...

show 1 reply