Compare commits

...

4 Commits

Author SHA1 Message Date
f39adc65fd ajout paquet binutils 2019-01-24 18:56:56 +01:00
692baa892b refactor airsonic 2019-01-24 18:56:41 +01:00
88953c1832 update NixOS 2019-01-24 18:56:25 +01:00
51514e5c5a erreurs HTTP perso sur haproxy 2019-01-24 18:56:12 +01:00
5 changed files with 46 additions and 3 deletions

View 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>

View File

@ -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

View File

@ -5,7 +5,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
gitRev = "0af0b7a9cf9dc426c3686fd8b9369251ef18805a"; gitRev = "d9634b4788a69eba897a5efb826f313942a860e2";
nixpkgs = fetchTarball "https://github.com/nyanloutre/nixpkgs/archive/${gitRev}.tar.gz"; nixpkgs = fetchTarball "https://github.com/nyanloutre/nixpkgs/archive/${gitRev}.tar.gz";
in in
{ {

View File

@ -387,8 +387,10 @@ in
username = "nyanloutre"; username = "nyanloutre";
}; };
airsonic.enable = true; airsonic = {
airsonic.maxMemory = 500; enable = true;
maxMemory = 500;
};
}; };
systemd.services.dogetipbot-telegram = { systemd.services.dogetipbot-telegram = {

View File

@ -49,6 +49,7 @@
# Outils # Outils
borgbackup borgbackup
binutils
# Développement # Développement
openssl openssl