diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 50b4b7c..6a94b94 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -87,12 +87,8 @@ in }; # only generate for static site certs = { - "nimh.roypository.com" = { - domain = "nimh.roypository.com"; - group = "nginx"; - }; - "imgs.roypository.com" = { - domain = "imgs.roypository.com"; + "roypository.com" = { + domain = "*.roypository.com"; group = "nginx"; }; }; @@ -107,7 +103,7 @@ in virtualHosts."nimh.roypository.com" = { forceSSL = true; - useACMEHost = "nimh.roypository.com"; + useACMEHost = "roypository.com"; locations."/" = { root = nimhStaticSite;