forked from nyanloutre/nixos-config
erreurs HTTP perso sur haproxy
This commit is contained in:
parent
8c79c29b5d
commit
51514e5c5a
39
services/errorfiles/503.html
Normal file
39
services/errorfiles/503.html
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
HTTP/1.0 503 Service Unavailable
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: close
|
||||||
|
Content-Type: text/html
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<title>503 Service Unavailable</title>
|
||||||
|
<meta name="description" content="Le serveur n'est pas joignable">
|
||||||
|
<meta name="author" content="Nyanloutre">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-image: url("https://storage.sbg3.cloud.ovh.net/v1/AUTH_5b4f5a8f8ed04ddb9725f42ae798cfab/images/1548346925-data-center-shot.jpg");
|
||||||
|
background-size: 100%;
|
||||||
|
color: white;
|
||||||
|
text-shadow: 0px 0px 3px black, 0px 0px 4px black;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
#travolta {
|
||||||
|
position: fixed;
|
||||||
|
height: 70%;
|
||||||
|
bottom: 0;
|
||||||
|
left: 40%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>503 Service non disponible</h1>
|
||||||
|
<img id="travolta" src="https://storage.sbg3.cloud.ovh.net/v1/AUTH_5b4f5a8f8ed04ddb9725f42ae798cfab/images/7VE.gif">
|
||||||
|
<p>Impossible de contacter le serveur demandé</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -23,6 +23,7 @@ let
|
|||||||
timeout client 10s
|
timeout client 10s
|
||||||
timeout connect 4s
|
timeout connect 4s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
errorfile 503 ${./errorfiles/503.html}
|
||||||
userlist LOUTRE
|
userlist LOUTRE
|
||||||
user paul password $6$YNjCpiPABu9$.iEp.3BgoswHcX3SMjz1/CiyqFQn/fjnxtT9CWBqQHBKynvK2kh/i62ije0WmCvhKRUhy9gdVbJStM3ciGXnC1
|
user paul password $6$YNjCpiPABu9$.iEp.3BgoswHcX3SMjz1/CiyqFQn/fjnxtT9CWBqQHBKynvK2kh/i62ije0WmCvhKRUhy9gdVbJStM3ciGXnC1
|
||||||
frontend public
|
frontend public
|
||||||
|
Loading…
Reference in New Issue
Block a user