-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not remove
500.html
file since it is used by nxginx
in case of critical problems when application cannot respond
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>We're sorry, but something went wrong (500)</title> | ||
<style type="text/css"> | ||
body { | ||
background-color: #fff; | ||
color: #666; | ||
font-family: arial, sans-serif; | ||
|
||
} | ||
div.dialog { | ||
width: 600px; | ||
margin: auto; | ||
} | ||
@media only screen | ||
and (min-width: 320px) | ||
and (max-width: 568px) { | ||
div.dialog, div.dialog img { | ||
width: 95%; | ||
} | ||
} | ||
div.dialog h1 { | ||
font-size: 1.8em; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<!-- This file lives in public/500.html --> | ||
<div class="dialog"> | ||
<a href="/" ><img src="/500.jpg" /></a> | ||
<h1>We're sorry, but something went wrong.</h1> | ||
<b>Please try again</b> | ||
<p>This might be a temporary problem. Please click the back button to return to the previous screen or go back to <a class="go_home" href="/">Home</a> and try again.</p> | ||
<b>We're on it</b> | ||
<p>If you have seen this problem before, we probably already know about it and are working on a fix. We record all the errors that come up.</p> | ||
<b>Contact support</b> | ||
<p>If the problem persists or is urgent, please tell us about it. Find our contact details from the global <a href="https://openfoodnetwork.org/ofn-local/" target="blank">Open Food Network Local page</a>.</p> | ||
<p>It really helps us if you can give as much detail as possible about what you were doing when this error occurred.</p> | ||
</div> | ||
</body> | ||
</html> |