l 1 mors: enable public_html
This commit is contained in:
parent
c8d089d22f
commit
de849cd88c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue