diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-01-05 14:50:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-01-05 14:50:27 +0530 |
commit | f6775df9f54ad812383e978ed3ee82abe151f544 (patch) | |
tree | cc0965754b020a3d35cdd802e9fdd263f57fafd6 | |
parent | 8e751f43a3330291939f4acdb7854713fe89c929 (diff) |
kay/www: drop expired domains
-rw-r--r-- | os/kay/modules/www.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index e41c11e..594d9b9 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -2,8 +2,6 @@ let domain = config.global.userdata.domain; - fscusat = "fscusat.org"; - mark = "themark.ing"; storage = "/hdd/users/sftp/shr"; in { @@ -99,38 +97,6 @@ in }; }; - "${fscusat}" = defaultOpts // { - useACMEHost = null; - enableACME = true; - - globalRedirect = "www.${fscusat}"; - }; - "www.${fscusat}" = defaultOpts // { - useACMEHost = null; - enableACME = true; - - locations."/" = { - return = "200 '<h1>under construction</h1>'"; - extraConfig = "add_header Content-Type text/html;"; - }; - }; - - "${mark}" = defaultOpts // { - useACMEHost = null; - enableACME = true; - - globalRedirect = "www.${mark}"; - }; - "www.${mark}" = defaultOpts // { - useACMEHost = null; - enableACME = true; - - locations."/" = { - return = "200 '<h1>under construction, see you soon</h1>'"; - extraConfig = "add_header Content-Type text/html;"; - }; - }; - "mta-sts.${domain}" = defaultOpts // { locations."= /.well-known/mta-sts.txt".return = ''200 "${ lib.strings.concatStringsSep "\\n" [ |