From f6775df9f54ad812383e978ed3ee82abe151f544 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 5 Jan 2025 14:50:27 +0530 Subject: kay/www: drop expired domains --- os/kay/modules/www.nix | 34 ---------------------------------- 1 file changed, 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 '

under construction

'"; - 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 '

under construction, see you soon

'"; - extraConfig = "add_header Content-Type text/html;"; - }; - }; - "mta-sts.${domain}" = defaultOpts // { locations."= /.well-known/mta-sts.txt".return = ''200 "${ lib.strings.concatStringsSep "\\n" [ -- cgit v1.2.3