Skip to content

Instantly share code, notes, and snippets.

@fvanderbiest
Created June 27, 2017 08:21
Show Gist options
  • Save fvanderbiest/a7d979bc6f70da471ca39dadd2e053d0 to your computer and use it in GitHub Desktop.
Save fvanderbiest/a7d979bc6f70da471ca39dadd2e053d0 to your computer and use it in GitHub Desktop.
HAProxy 503 custom page
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="robots" content="none" />
<meta name="googlebot" content="noarchive" />
<title>Site en maintenance</title>
<style type="text/css">
body {
background-color:#e6e6e6;
font-family:Calibri;
text-align:center;
}
#wrapper {
background:#fff;
width:492px;
position:relative;
margin-left:auto;
margin-right:auto;
text-align:left;
border:3px solid #999;
overflow:hidden;
padding: 30px;
border-bottom-right-radius: 16px;
border-bottom-left-radius: 16px;
}
#wrapper p {
padding:5px;
}
</style>
</head>
<body lang=FR>
<div id="wrapper">
<img src="http://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" />
<p>
En raison d’une opération de maintenance, les
services geOrchestra sont momentanément indisponibles.
</p>
<p>Nous vous remercions pour votre compréhension.</p>
<p>Ne fermez pas cet onglet : la page demandée s’affichera dès que le site sera de nouveau opérationnel.</p>
</div>
</body>
<script>
window.setTimeout(function() {window.location.href = window.location.href}, 5000);
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment