reduce unnecessary caddy matches

This commit is contained in:
Noah Masur 2023-07-30 03:56:17 +00:00
parent b1ebca57d2
commit 95e04de763

View File

@ -45,14 +45,7 @@
]; ];
} }
{ {
match = [{ path = [ "/nix-apps*" ]; }]; match = [{ path = [ "/nix-apps*" "/store-apps*" ]; }];
handle = [{
handler = "vars";
root = config.services.nextcloud.home;
}];
}
{
match = [{ path = [ "/store-apps*" ]; }];
handle = [{ handle = [{
handler = "vars"; handler = "vars";
root = config.services.nextcloud.home; root = config.services.nextcloud.home;