Commit 5de16dee768f4482d8db48b58fad1cf55c1320ee

Authored by Jacob Vosmaer
1 parent fd9a8c36

Add a custom 502 page

Showing 2 changed files with 15 additions and 0 deletions   Show diff stats
lib/support/nginx/gitlab
@@ -53,5 +53,7 @@ server { @@ -53,5 +53,7 @@ server {
53 53
54 proxy_pass http://gitlab; 54 proxy_pass http://gitlab;
55 } 55 }
  56 +
  57 + error_page 502 /502.html;
56 } 58 }
57 59
public/502.html 0 → 100644
@@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
  1 +<!DOCTYPE html>
  2 +<html>
  3 +<head>
  4 + <title>GitLab is not responding (502)</title>
  5 + <link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
  6 +</head>
  7 +<body>
  8 + <h1>502</h1>
  9 + <h3>GitLab is not responding.</h3>
  10 + <hr/>
  11 + <p>Please contact your administrator if this problem persists.</p>
  12 +</body>
  13 +</html>