Lots of stuff

This commit is contained in:
Vice 2025-03-05 06:34:39 -05:00
parent 9115983c81
commit c15fab234d
17 changed files with 10 additions and 86 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;
}
'';
};
};
}