Bunch of stuff to get this ready for a two user system

This commit is contained in:
Jimbo 2025-02-28 13:11:45 -05:00
parent 2144d9ef61
commit 7eb3b1a0fa
119 changed files with 214 additions and 214 deletions

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts."cloud.nixfox.ca" = 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;
}
'';
};
};
}