From 5de16dee768f4482d8db48b58fad1cf55c1320ee Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 28 Jan 2014 10:19:22 +0100 Subject: [PATCH] Add a custom 502 page --- lib/support/nginx/gitlab | 2 ++ public/502.html | 13 +++++++++++++ 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 public/502.html diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index 0860d2a..882f038 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 0000000..d22816c --- /dev/null +++ b/public/502.html @@ -0,0 +1,13 @@ + + + + GitLab is not responding (502) + + + +

502

+

GitLab is not responding.

+
+

Please contact your administrator if this problem persists.

+ + -- libgit2 0.21.2