feat: caddy test

This commit is contained in:
Nick 2024-12-19 22:55:10 -06:00
parent f4e269e6fd
commit 71ad4654d1

View file

@ -1,13 +1,14 @@
{instancesFunctions}: let
inherit (instancesFunctions) domain1 servicePath sslPath sopsPath;
inherit (instancesFunctions) domain3 servicePath sslPath sopsPath;
mastodonLabel = "Mastodon";
mastodonName = "mastodon";
mastodonSubdomain = "social";
in {
label = mastodonLabel;
name = mastodonName;
email = {
address0 = "thenutrivore@${domain1}";
address0 = "nick@${domain3}";
};
sops = {
path0 = "${sopsPath}/${mastodonName}";
@ -17,9 +18,9 @@ in {
path1 = "";
path2 = "";
};
subdomain = "social";
subdomain = mastodonSubdomain;
ssl = {
cert = "${sslPath}/${domain1}/fullchain.pem";
key = "${sslPath}/${domain1}/key.pem";
cert = "${sslPath}/${mastodonSubdomain}.${domain3}/fullchain.pem";
key = "${sslPath}/${mastodonSubdomain}.${domain3}/key.pem";
};
}