-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
haproxy 503 error page: replace all LF by CRLF to be fully compliant …
…with rfc2616 and rfc 7230
- Loading branch information
1 parent
d0c82ff
commit fadab45
Showing
1 changed file
with
140 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,140 +1,140 @@ | ||
HTTP/1.0 503 Service Unavailable | ||
Pragma: no-cache | ||
Cache-Control: private, max-age=0, no-cache, no-store | ||
Connection: close | ||
Content-Type: text/html | ||
|
||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<style type="text/css"> | ||
/*! | ||
* Bootstrap v3.3.5 (http://getbootstrap.com) | ||
* Copyright 2011-2015 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
*/ | ||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | ||
html { | ||
font-family: sans-serif; | ||
-ms-text-size-adjust: 100%; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
} | ||
h1 { | ||
font-size: 1.7em; | ||
font-weight: 400; | ||
line-height: 1.3; | ||
margin: 0.68em 0; | ||
} | ||
* { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
*:before, | ||
*:after { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
html { | ||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
} | ||
body { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
line-height: 1.66666667; | ||
font-size: 13px; | ||
color: #333333; | ||
background-color: #ffffff; | ||
margin: 2em 1em; | ||
} | ||
p { | ||
margin: 0 0 10px; | ||
font-size: 13px; | ||
} | ||
.alert.alert-info { | ||
padding: 15px; | ||
margin-bottom: 20px; | ||
border: 1px solid transparent; | ||
background-color: #f5f5f5; | ||
border-color: #8b8d8f; | ||
color: #363636; | ||
margin-top: 30px; | ||
} | ||
.alert p { | ||
padding-left: 35px; | ||
} | ||
a { | ||
color: #0088ce; | ||
} | ||
|
||
ul { | ||
position: relative; | ||
padding-left: 51px; | ||
} | ||
p.info { | ||
position: relative; | ||
font-size: 15px; | ||
margin-bottom: 10px; | ||
} | ||
p.info:before, p.info:after { | ||
content: ""; | ||
position: absolute; | ||
top: 9%; | ||
left: 0; | ||
} | ||
p.info:before { | ||
content: "i"; | ||
left: 3px; | ||
width: 20px; | ||
height: 20px; | ||
font-family: serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
line-height: 21px; | ||
text-align: center; | ||
color: #fff; | ||
background: #4d5258; | ||
border-radius: 16px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
body { | ||
margin: 4em 3em; | ||
} | ||
h1 { | ||
font-size: 2.15em;} | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div> | ||
<h1>Application is not available</h1> | ||
<p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p> | ||
|
||
<div class="alert alert-info"> | ||
<p class="info"> | ||
Possible reasons you are seeing this page: | ||
</p> | ||
<ul> | ||
<li> | ||
<strong>The host doesn't exist.</strong> | ||
Make sure the hostname was typed correctly and that a route matching this hostname exists. | ||
</li> | ||
<li> | ||
<strong>The host exists, but doesn't have a matching path.</strong> | ||
Check if the URL path was typed correctly and that the route was created using the desired path. | ||
</li> | ||
<li> | ||
<strong>Route and path matches, but all pods are down.</strong> | ||
Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running. | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
HTTP/1.0 503 Service Unavailable | ||
Pragma: no-cache | ||
Cache-Control: private, max-age=0, no-cache, no-store | ||
Connection: close | ||
Content-Type: text/html | ||
|
||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<style type="text/css"> | ||
/*! | ||
* Bootstrap v3.3.5 (http://getbootstrap.com) | ||
* Copyright 2011-2015 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
*/ | ||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | ||
html { | ||
font-family: sans-serif; | ||
-ms-text-size-adjust: 100%; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
} | ||
h1 { | ||
font-size: 1.7em; | ||
font-weight: 400; | ||
line-height: 1.3; | ||
margin: 0.68em 0; | ||
} | ||
* { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
*:before, | ||
*:after { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
html { | ||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
} | ||
body { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
line-height: 1.66666667; | ||
font-size: 13px; | ||
color: #333333; | ||
background-color: #ffffff; | ||
margin: 2em 1em; | ||
} | ||
p { | ||
margin: 0 0 10px; | ||
font-size: 13px; | ||
} | ||
.alert.alert-info { | ||
padding: 15px; | ||
margin-bottom: 20px; | ||
border: 1px solid transparent; | ||
background-color: #f5f5f5; | ||
border-color: #8b8d8f; | ||
color: #363636; | ||
margin-top: 30px; | ||
} | ||
.alert p { | ||
padding-left: 35px; | ||
} | ||
a { | ||
color: #0088ce; | ||
} | ||
|
||
ul { | ||
position: relative; | ||
padding-left: 51px; | ||
} | ||
p.info { | ||
position: relative; | ||
font-size: 15px; | ||
margin-bottom: 10px; | ||
} | ||
p.info:before, p.info:after { | ||
content: ""; | ||
position: absolute; | ||
top: 9%; | ||
left: 0; | ||
} | ||
p.info:before { | ||
content: "i"; | ||
left: 3px; | ||
width: 20px; | ||
height: 20px; | ||
font-family: serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
line-height: 21px; | ||
text-align: center; | ||
color: #fff; | ||
background: #4d5258; | ||
border-radius: 16px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
body { | ||
margin: 4em 3em; | ||
} | ||
h1 { | ||
font-size: 2.15em;} | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div> | ||
<h1>Application is not available</h1> | ||
<p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p> | ||
|
||
<div class="alert alert-info"> | ||
<p class="info"> | ||
Possible reasons you are seeing this page: | ||
</p> | ||
<ul> | ||
<li> | ||
<strong>The host doesn't exist.</strong> | ||
Make sure the hostname was typed correctly and that a route matching this hostname exists. | ||
</li> | ||
<li> | ||
<strong>The host exists, but doesn't have a matching path.</strong> | ||
Check if the URL path was typed correctly and that the route was created using the desired path. | ||
</li> | ||
<li> | ||
<strong>Route and path matches, but all pods are down.</strong> | ||
Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running. | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |