backup radicale

This commit is contained in:
Kopatz
2024-06-19 17:53:19 +02:00
parent 162f05f12b
commit 6fe69e8889
2 changed files with 8 additions and 0 deletions

View File

@@ -22,5 +22,10 @@ in {
storage = { filesystem_folder = "/var/lib/radicale/collections"; }; storage = { filesystem_folder = "/var/lib/radicale/collections"; };
}; };
}; };
custom.misc.backup = lib.mkIf config.custom.misc.backup.enable {
small = [ "/var/lib/radicale/"];
medium = [ "/var/lib/radicale/"];
large = [ "/var/lib/radicale/"];
};
}; };
} }

View File

@@ -84,6 +84,9 @@ in {
proxyPass = "http://127.0.0.1:8080"; proxyPass = "http://127.0.0.1:8080";
}; };
"/radicale/" = { "/radicale/" = {
extraConfig = ''
proxy_set_header X-Script-Name /radicale;
'';
proxyPass = "http://localhost:5232/"; proxyPass = "http://localhost:5232/";
}; };
}; };