feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 04:05:07 -05:00
parent d93cbfcbff
commit 13c2c48daa

View file

@ -173,13 +173,15 @@ in {
key = "${sslPath}/${minecraftName}.${domain0}/key.pem"; key = "${sslPath}/${minecraftName}.${domain0}/key.pem";
}; };
}; };
nextcloud = { nextcloud = let
nextcloudSubdomain = "calendar";
in {
label = nextcloudLabel; label = nextcloudLabel;
name = nextcloudName; name = nextcloudName;
sops = { sops = {
path0 = "${sops}/${nextcloudName}"; path0 = "${sops}/${nextcloudName}";
}; };
subdomain = "calendar"; subdomain = nextcloudSubdomain;
paths = { paths = {
path0 = "${servicePath}/${nextcloudLabel}"; path0 = "${servicePath}/${nextcloudLabel}";
}; };
@ -187,8 +189,8 @@ in {
port0 = 8354; # Nextcloud port0 = 8354; # Nextcloud
}; };
ssl = { ssl = {
cert = "${sslPath}/${nextcloudName}.${domain0}/fullchain.pem"; cert = "${sslPath}/${nextcloudSubdomain}.${domain1}/fullchain.pem";
key = "${sslPath}/${nextcloudName}.${domain0}/key.pem"; key = "${sslPath}/${nextcloudSubdomain}.${domain1}/key.pem";
}; };
}; };
nginx = { nginx = {