diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index a8801627..6f530f25 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -1044,9 +1044,17 @@ in }; in { "m-labs.hk" = mainWebsite; - "www.m-labs.hk" = mainWebsite; + "www.m-labs.hk" = { + addSSL = true; + enableACME = true; + globalRedirect = "m-labs.hk"; + }; "m-labs.ph" = mainWebsite; - "www.m-labs.ph" = mainWebsite; + "www.m-labs.ph" = { + addSSL = true; + enableACME = true; + globalRedirect = "m-labs.ph"; + }; "nixbld.m-labs.hk" = { forceSSL = true; enableACME = true; @@ -1193,7 +1201,7 @@ in "www.193thz.com" = { addSSL = true; enableACME = true; - root = "/var/www/193thz"; + globalRedirect = "193thz.com"; }; "nmigen.net" = { addSSL = true; @@ -1203,7 +1211,7 @@ in "www.nmigen.net" = { addSSL = true; enableACME = true; - root = "${hydraWwwOutputs}/nmigen-docs"; + globalRedirect = "nmigen.net"; }; }; };