Compare commits
4 Commits
8c79c29b5d
...
f39adc65fd
Author | SHA1 | Date | |
---|---|---|---|
f39adc65fd | |||
692baa892b | |||
88953c1832 | |||
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
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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 = {
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
|
|
||||||
# Outils
|
# Outils
|
||||||
borgbackup
|
borgbackup
|
||||||
|
binutils
|
||||||
|
|
||||||
# Développement
|
# Développement
|
||||||
openssl
|
openssl
|
||||||
|
Loading…
Reference in New Issue
Block a user