use acme host

This commit is contained in:
2026-05-24 22:49:16 -05:00
parent 298d3f2fc5
commit c1828c5868
+6 -2
View File
@@ -87,10 +87,14 @@ in
}; };
# only generate for static site # only generate for static site
certs = { certs = {
"roypository.com" = { "nimh.roypository.com" = {
domain = "nimh.roypository.com"; domain = "nimh.roypository.com";
group = "nginx"; group = "nginx";
}; };
"imgs.roypository.com" = {
domain = "imgs.roypository.com";
group = "nginx";
};
}; };
}; };
@@ -103,7 +107,7 @@ in
virtualHosts."nimh.roypository.com" = { virtualHosts."nimh.roypository.com" = {
forceSSL = true; forceSSL = true;
useACMEHost = "roypository.com"; useACMEHost = "nimh.roypository.com";
locations."/" = { locations."/" = {
root = nimhStaticSite; root = nimhStaticSite;