X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Ftools%2Froundcubemail.nix;h=c0a1125835cfc72c6e5141862fa4b7a59cc95615;hb=a95ab089420d6edf24f22500dabf7876d329dc91;hp=877ea8b9cbf501f79bde2cc470601b104961f569;hpb=01f21083a897b86bf148f1d2bb9c8edca4d3786a;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/tools/roundcubemail.nix b/nixops/modules/websites/tools/tools/roundcubemail.nix index 877ea8b..c0a1125 100644 --- a/nixops/modules/websites/tools/tools/roundcubemail.nix +++ b/nixops/modules/websites/tools/tools/roundcubemail.nix @@ -61,13 +61,15 @@ let )} ''; }; - apache = { + apache = rec { user = "wwwrun"; group = "wwwrun"; modules = [ "proxy_fcgi" ]; + webappName = "tools_roundcubemail"; + root = "/run/current-system/webapps/${webappName}"; vhostConf = '' - Alias /roundcube "${webRoot}" - + Alias /roundcube "${root}" + DirectoryIndex index.php AllowOverride All Options FollowSymlinks