-
Notifications
You must be signed in to change notification settings - Fork 75
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
[Feature request] Switch to different error page after x time #48
Comments
That would be really nice. So we could see the beauty of each template after some time and users won't be bored with your error pages after a while😄. |
Are you guys serious right now, or is this a joke? 😄 |
Why not both?! 😂 Nah, for me, I would genuinely like to have different ones without restarting the container cus I'm a lazy lazy sod! |
Same here 😄 |
I don't know if this may help, but you can actually create a config file to use a custom html template (see README). Just generate the files and then mount them to your container . If you add some lovely JS to your custom template I think you can make it a lot more random/fun. |
Yupper! But in this particular case, I have multiple templates that I would quite like to switch between, rather than a single template until container restart (utilising random). |
Hi there, Like the idea of this Issue, I wished to have different template for each load. I used the content of the
And then, here my Nginx configuration:
You can see examples with each error code on those URL: |
@modem7 I can implement a "special theme name" like a |
That'd be perfect for my needs! Thank you! |
v2.6.0 released, now you can use |
Would be fun if there was a way to switch to a different error page template after x amount of time (e.g. every 24 hours) when it's set to random.
The text was updated successfully, but these errors were encountered: