add 502 page, even if obsolete now

This commit is contained in:
Peter Bhat Harkins 2023-08-31 17:35:45 -05:00
parent 9c80ba7261
commit 396e16a1d5
1 changed files with 20 additions and 0 deletions

20
public/502.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Lobsters HTTP 502 status: puma timeout</title>
</head>
<body>
<h1>Lobsters HTTP 500 status: server error</h1>
<p>
nginx tried to pass your request to puma but failed.
This probably means we're in the middle of a deploy.
If this persists for more than 120 seconds, please come hassle us in the
<a href="ircs://irc.libera.chat/lobsters">IRC channel</a>
(<a href="https://web.libera.chat/#lobsters">webchat</a>).
</p>
<p>
It is safe to reload until the page loads and resubmit a POST request,
you won't double-post a comment or anything.
</p>
</body>
</html>