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;
};
};
};
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";