Separate some more files and extrapolate more non-secrets

This commit is contained in:
Jimbo 2024-10-29 01:07:07 -04:00
parent 83796f7cb2
commit 7f512583e0
9 changed files with 122 additions and 103 deletions

View file

@ -0,0 +1,18 @@
{ pkgs, config, ... }:
{
services.nginx.virtualHosts."cloud.${config.domains.jim1}" = {
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;
}
";
};
};
}