diff --git a/services/errorfiles/503.html b/services/errorfiles/503.html new file mode 100644 index 0000000..c511c00 --- /dev/null +++ b/services/errorfiles/503.html @@ -0,0 +1,39 @@ +HTTP/1.0 503 Service Unavailable +Cache-Control: no-cache +Connection: close +Content-Type: text/html + + + + +
+ + +Impossible de contacter le serveur demandé
+ + diff --git a/services/haproxy-acme.nix b/services/haproxy-acme.nix index e472723..ad59904 100644 --- a/services/haproxy-acme.nix +++ b/services/haproxy-acme.nix @@ -23,6 +23,7 @@ let timeout client 10s timeout connect 4s timeout server 30s + errorfile 503 ${./errorfiles/503.html} userlist LOUTRE user paul password $6$YNjCpiPABu9$.iEp.3BgoswHcX3SMjz1/CiyqFQn/fjnxtT9CWBqQHBKynvK2kh/i62ije0WmCvhKRUhy9gdVbJStM3ciGXnC1 frontend public diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 193a181..9b094b3 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -5,7 +5,7 @@ { config, pkgs, ... }: let - gitRev = "0af0b7a9cf9dc426c3686fd8b9369251ef18805a"; + gitRev = "d9634b4788a69eba897a5efb826f313942a860e2"; nixpkgs = fetchTarball "https://github.com/nyanloutre/nixpkgs/archive/${gitRev}.tar.gz"; in { diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 7f9744e..abe891e 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -387,8 +387,10 @@ in username = "nyanloutre"; }; - airsonic.enable = true; - airsonic.maxMemory = 500; + airsonic = { + enable = true; + maxMemory = 500; + }; }; systemd.services.dogetipbot-telegram = { diff --git a/systems/common.nix b/systems/common.nix index 460716e..3b6aba4 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -49,6 +49,7 @@ # Outils borgbackup + binutils # Développement openssl