Add a custom 502 page
This commit is contained in:
parent
fd9a8c3601
commit
5de16dee76
2 changed files with 15 additions and 0 deletions
|
@ -53,5 +53,7 @@ server {
|
|||
|
||||
proxy_pass http://gitlab;
|
||||
}
|
||||
|
||||
error_page 502 /502.html;
|
||||
}
|
||||
|
||||
|
|
13
public/502.html
Normal file
13
public/502.html
Normal 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>
|
Loading…
Reference in a new issue