)}
'';
};
- apache = {
+ apache = rec {
user = "wwwrun";
group = "wwwrun";
modules = [ "proxy_fcgi" ];
+ webappName = "tools_roundcubemail";
+ root = "/run/current-system/webapps/${webappName}";
vhostConf = ''
- Alias /roundcube "${webRoot}"
- <Directory "${webRoot}">
+ Alias /roundcube "${root}"
+ <Directory "${root}">
DirectoryIndex index.php
AllowOverride All
Options FollowSymlinks