From e379fd29ef6e69eb36652043f0ca825bbc00c222 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 28 Dec 2018 17:53:12 +0100 Subject: [PATCH] Add tools.immae.eu and adminer --- virtual/eldiron.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index 768de84..fd72608 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix @@ -41,8 +41,13 @@ webroot = "/var/lib/acme/acme-challenge"; email = "ismael@bouya.org"; domain = "eldiron.immae.eu"; + plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ]; + postRun = '' + "systemctl reload httpd.service" + ''; extraDomains = { "db-1.immae.eu" = null; + "tools.immae.eu" = null; }; }; }; @@ -99,6 +104,14 @@ mypkgs.adminer.apacheConf ]; }) + (withSSL "eldiron" // { + listen = [ { ip = "*"; port = 443; } ]; + hostName = "tools.immae.eu"; + documentRoot = null; + extraConfig = builtins.concatStringsSep "\n" [ + mypkgs.adminer.apacheConf + ]; + }) { # Should go last, default fallback listen = [ { ip = "*"; port = 80; } ]; hostName = "redirectSSL"; -- 2.41.0