Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
5de16dee
Commit
5de16dee
authored
Jan 28, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a custom 502 page
parent
fd9a8c36
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
lib/support/nginx/gitlab
lib/support/nginx/gitlab
+2
-0
public/502.html
public/502.html
+13
-0
No files found.
lib/support/nginx/gitlab
View file @
5de16dee
...
@@ -53,5 +53,7 @@ server {
...
@@ -53,5 +53,7 @@ server {
proxy_pass http://gitlab;
proxy_pass http://gitlab;
}
}
error_page 502 /502.html;
}
}
public/502.html
0 → 100644
View file @
5de16dee
<!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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment