certName = "mail";
addToCerts = true;
hosts = ["mail.immae.eu"];
- root = "/run/current-system/webapps/_mail";
+ root = ./www;
extraConfig = [
(rainloop.apache.vhostConf pcfg.rainloop.socket)
(roundcubemail.apache.vhostConf pcfg.roundcubemail.socket)
''
- <Directory /run/current-system/webapps/_mail>
+ <Directory ${./www}>
Require all granted
Options -Indexes
</Directory>
roundcubemail = roundcubemail.activationScript;
rainloop = rainloop.activationScript;
};
-
- services.websites.webappDirs = {
- _mail = ./www;
- "${roundcubemail.apache.webappName}" = roundcubemail.webRoot;
- "${rainloop.apache.webappName}" = rainloop.webRoot;
- };
-
};
}