Infini-DL360: use wildcard certificate

This commit is contained in:
Infinidoge 2025-02-15 03:53:42 -05:00
parent 2203788b2d
commit 8ab1fe878b
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
13 changed files with 34 additions and 21 deletions

View file

@ -6,17 +6,25 @@
domain = "inx.moe";
subdomain = subdomain: "${subdomain}.${domain}";
nginx = rec {
ssl-cert = {
nginx = {
ssl-optional = {
enableACME = true;
acmeRoot = null;
};
ssl-optional = ssl-cert // {
addSSL = true;
};
ssl = ssl-cert // {
ssl = {
enableACME = true;
acmeRoot = null;
forceSSL = true;
};
ssl-inx = {
useACMEHost = domain;
forceSSL = true;
};
ssl-inx-optional = {
useACMEHost = domain;
addSSL = true;
};
};
rsyncnet = rec {