diff options
-rw-r--r-- | lib/support/nginx/gitlab | 2 | ||||
-rw-r--r-- | public/502.html | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index 0860d2a8693..882f0386046 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -53,5 +53,7 @@ server { proxy_pass http://gitlab; } + + error_page 502 /502.html; } diff --git a/public/502.html b/public/502.html new file mode 100644 index 00000000000..d22816ce870 --- /dev/null +++ b/public/502.html @@ -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> |