fix: nextcloud apps routing 404s

due to: bae5e65162
This commit is contained in:
Noah Masur 2024-01-05 04:35:04 +00:00
parent 3396918793
commit cfe1f1d1e2

View File

@ -49,7 +49,10 @@
handle = [
{
handler = "vars";
root = config.services.nextcloud.package;
# Grab the webroot out of the written config
# The webroot is a symlinked combined Nextcloud directory
root =
config.services.nginx.virtualHosts.${config.services.nextcloud.hostName}.root;
}
{
handler = "headers";
@ -58,13 +61,6 @@
}
];
}
{
match = [{ path = [ "/nix-apps*" "/store-apps*" ]; }];
handle = [{
handler = "vars";
root = config.services.nextcloud.home;
}];
}
# Reroute carddav and caldav traffic
{
match =