Default Redirect 404 File (Dynamic) #3774
Hybes
started this conversation in
Feature Requests
Replies: 1 comment 5 replies
-
The default response should be 503 too not 404. I've tried the configurations from https://community.traefik.io/t/catchall-router-that-returns-503-service-unavailable-response-code/10651 but it still returns 404 for sites that don't exist.
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would like to add support for a redirect file or such, that could be dynamic, I don't directly want to redirect to another site, I would like to to display something better than a blank 404 error not found.
For example, if I deployed example.com and it was down, I would want a nice styled page that says 'example.com' is not available, please try again later. If you believe this is in error, bla bla bla.
Ideally we just route to a HTML file, or we could add an argument to the redirect URL, so I could redirect to myapp.com/redirect_catch?site={{example.com}} and could make that all happen on there.
Beta Was this translation helpful? Give feedback.
All reactions