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 500.html and its handlers #351

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

angellandros
Copy link

No description provided.

@@ -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
Copy link
Owner

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.

@jmchilton
Copy link
Collaborator

jmchilton commented Jun 19, 2017

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>
Copy link
Owner

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>
Copy link
Owner

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

@bgruening
Copy link
Owner

@angellandros can you add this to the ansible-extras role as @jmchilton suggested.

@angellandros
Copy link
Author

I will add this to ansible-extras as the next step. Thanks @bgruening and @jmchilton.

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

Successfully merging this pull request may close these issues.

3 participants