Add a custom 502 page

This commit is contained in:
Jacob Vosmaer 2014-01-28 10:19:22 +01:00
parent fd9a8c3601
commit 5de16dee76
2 changed files with 15 additions and 0 deletions

View File

@ -53,5 +53,7 @@ server {
proxy_pass http://gitlab;
}
error_page 502 /502.html;
}

13
public/502.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>GitLab is not responding (502)</title>
<link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>502</h1>
<h3>GitLab is not responding.</h3>
<hr/>
<p>Please contact your administrator if this problem persists.</p>
</body>
</html>