move base data dir

This commit is contained in:
♥ Minnie ♥ 2024-10-16 04:59:59 +08:00
parent 9b13797b9b
commit 999740e7bd
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
15 changed files with 100 additions and 32 deletions

View file

@ -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";
}
];
};
}