Add 502 page
This commit is contained in:
parent
4905f55268
commit
e7842a2a49
2 changed files with 29 additions and 0 deletions
|
@ -116,6 +116,8 @@ location /static/ {
|
||||||
error_page 404 /404;
|
error_page 404 /404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_page 502 /static/502.html;
|
||||||
|
|
||||||
location ~ ^/b1/controller(/?)(.*) {
|
location ~ ^/b1/controller(/?)(.*) {
|
||||||
proxy_pass http://build_manager_controller_server/$2;
|
proxy_pass http://build_manager_controller_server/$2;
|
||||||
}
|
}
|
||||||
|
|
27
static/502.html
Normal file
27
static/502.html
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Quay Loading</title>
|
||||||
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
|
||||||
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.no-icons.min.css">
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
<style type="text/css">
|
||||||
|
.information {
|
||||||
|
padding: 30px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.information h3 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="information">
|
||||||
|
<img src="/static/img/Quay_horizontal_color.svg" style="max-height: 50px;">
|
||||||
|
<h3>Quay is currently loading</h3>
|
||||||
|
<h4>
|
||||||
|
<p>Please wait and refresh the page shortly to try again.</p>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in a new issue