aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-28 17:53:12 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-28 17:53:12 +0100
commite379fd29ef6e69eb36652043f0ca825bbc00c222 (patch)
treebe5b1e82b0586d95945f14fae21b1d697a5fb40d
parent27e22b76e2f7d402c1556d6bbf99cf5e1316f9d4 (diff)
downloadNix-e379fd29ef6e69eb36652043f0ca825bbc00c222.tar.gz
Nix-e379fd29ef6e69eb36652043f0ca825bbc00c222.tar.zst
Nix-e379fd29ef6e69eb36652043f0ca825bbc00c222.zip
Add tools.immae.eu and adminer
-rw-r--r--virtual/eldiron.nix13
1 files changed, 13 insertions, 0 deletions
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 @@
41 webroot = "/var/lib/acme/acme-challenge"; 41 webroot = "/var/lib/acme/acme-challenge";
42 email = "ismael@bouya.org"; 42 email = "ismael@bouya.org";
43 domain = "eldiron.immae.eu"; 43 domain = "eldiron.immae.eu";
44 plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ];
45 postRun = ''
46 "systemctl reload httpd.service"
47 '';
44 extraDomains = { 48 extraDomains = {
45 "db-1.immae.eu" = null; 49 "db-1.immae.eu" = null;
50 "tools.immae.eu" = null;
46 }; 51 };
47 }; 52 };
48 }; 53 };
@@ -99,6 +104,14 @@
99 mypkgs.adminer.apacheConf 104 mypkgs.adminer.apacheConf
100 ]; 105 ];
101 }) 106 })
107 (withSSL "eldiron" // {
108 listen = [ { ip = "*"; port = 443; } ];
109 hostName = "tools.immae.eu";
110 documentRoot = null;
111 extraConfig = builtins.concatStringsSep "\n" [
112 mypkgs.adminer.apacheConf
113 ];
114 })
102 { # Should go last, default fallback 115 { # Should go last, default fallback
103 listen = [ { ip = "*"; port = 80; } ]; 116 listen = [ { ip = "*"; port = 80; } ];
104 hostName = "redirectSSL"; 117 hostName = "redirectSSL";