diff options
| -rw-r--r-- | nix/web.nix | 9 |
1 files 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; |