move base data dir
This commit is contained in:
parent
9b13797b9b
commit
999740e7bd
15 changed files with 100 additions and 32 deletions
|
@ -2,7 +2,7 @@
|
|||
services.lighttpd = {
|
||||
enable = true;
|
||||
port = 5624;
|
||||
document-root = "/srv/services/websites/sajenim.dev";
|
||||
document-root = "/srv/www/sajenim.dev";
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http.routers = {
|
||||
|
@ -24,4 +24,14 @@
|
|||
{url = "http://127.0.0.1:${toString config.services.lighttpd.port}";}
|
||||
];
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/srv/www";
|
||||
user = "lighttpd";
|
||||
group = "lighttpd";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue