From 3571e62d04e92542bdcaac83d340eebee14ea902 Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Tue, 3 Nov 2026 00:10:54 -0800 Subject: setup static site --- nix/web.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nix/web.nix b/nix/web.nix index 3f85d84..8ccad04 100644 --- a/nix/web.nix +++ b/nix/web.nix @@ -11,14 +11,9 @@ in recommendedTlsSettings = true; virtualHosts = { - # dont serve kassouni.net traffic to other subdomains - "_" = { - default = true; - rejectSSL = true; - locations."/".return = 444; - }; - ${domain} = { + default = true; + serverAliases = [ "www.${domain}" ]; forceSSL = true; enableACME = true; root = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.website; -- cgit v1.3.1