Add back nextcloud and try collabora

This commit is contained in:
Jimbo 2025-01-07 13:35:36 -05:00
parent 38bb03a054
commit 8a1f1cce31
11 changed files with 59 additions and 65 deletions

View file

@ -0,0 +1,18 @@
{ lib, config, ... }:
{
services.nginx.virtualHosts."cloud.${config.domains.p2}" = lib.mkIf config.services.nextcloud.enable {
enableACME = true;
addSSL = true;
locations."/" = {
proxyWebsockets = true;
extraConfig = ''
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
'';
};
};
}