-
Notifications
You must be signed in to change notification settings - Fork 133
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 500.html and its handlers #351
base: master
Are you sure you want to change the base?
Conversation
galaxy/Dockerfile
Outdated
@@ -192,6 +192,10 @@ RUN ./scripts/common_startup.sh && \ | |||
# Switch back to User root | |||
USER root | |||
|
|||
# Copy error pages and make the permissions right for NGINX to access them | |||
ADD ./500.html /root/500.html | |||
RUN chmod o+x / && chmod o+x /root && chmod o+x /root/500.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably not a good idea. Consider storing the page in a location where it fits better.
The other error handlers are setup by Nginx are done so by the Galaxy role (https://github.com/galaxyproject/ansible-galaxy) - I'd encourage adopting that role and putting these handlers there. Update: Sorry with that comment about "the other" I thought this was ansible-galaxy-extras - I'd still prefer to keep all of this together so that planemo-machine and GalaxyKickStart are synchronized with error handling. |
galaxy/502.html
Outdated
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<title>Galaxy is down! | 500 - Webservice currently unavailable</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
502
galaxy/502.html
Outdated
</div> | ||
|
||
<footer> | ||
<p>If the problems didn't solve after a few minutes, you can try restarting the server, restarting the host, or get some help! :)</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link to the galaxyproject and/or github channel
@angellandros can you add this to the ansible-extras role as @jmchilton suggested. |
I will add this to ansible-extras as the next step. Thanks @bgruening and @jmchilton. |
No description provided.