l 1 mors: enable public_html

This commit is contained in:
lassulus 2016-08-29 10:58:46 +02:00
parent c8d089d22f
commit de849cd88c

View file

@ -67,6 +67,16 @@ with config.krebs.lib;
'';
};
}
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
}
];
krebs.build.host = config.krebs.hosts.mors;