Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Waiting page ? #11

Open
JamesDAdams opened this issue Aug 23, 2021 · 4 comments
Open

Add Waiting page ? #11

JamesDAdams opened this issue Aug 23, 2021 · 4 comments

Comments

@JamesDAdams
Copy link

It would be great as a feature to be able to define a waiting page while waiting for the service to start, if we have docker containers that take time to start we could have a waiting page that appears that we could customize and once the container is loaded we are redirected. 😀

@adyanth
Copy link
Owner

adyanth commented Aug 24, 2021

Yeah, that thought indeed crossed my mind. It was not very straightforward since there was no way to check the same from the middleware itself (since the app behind can also give 404/502s even when up causing an infinite loop).

The best way I can think of would be for the middleware to send a non standard HTTP status code, which can be handled by Traefik's error handler option to be sent to the manager, who can serve a static page with JS to reload the page every 5 seconds or something.

@JamesDAdams
Copy link
Author

ok

@JamesDAdams
Copy link
Author

maybe he can help https://github.com/guillaumebriday/traefik-custom-error-pages

@modem7
Copy link

modem7 commented Oct 9, 2022

maybe he can help https://github.com/guillaumebriday/traefik-custom-error-pages

That project is now deprecated, replaced with https://github.com/tarampampam/error-pages

This feature request would definitely be useful though.

These guys seem to have cracked the loading page for a very similar project: https://github.com/acouvreur/traefik-ondemand-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants