From 3041aba526faa4e4f3dd6327653b85c9b5b313f8 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Sat, 4 May 2024 17:50:15 +0200 Subject: [PATCH] update website to use package --- modules/services/nginx.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index 0fb5e69..73d8bfc 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -47,10 +47,6 @@ in ''; virtualHosts = { - "localhost" = { - forceSSL = false; - root = pkgs.hub; - }; "kopatz.ddns.net" = { #serverAliases = [ # "www.kopatz.ddns.net" @@ -58,7 +54,7 @@ in # "server.home.arpa" # "192.168.0.6" #]; - root = "/data/website"; + root = pkgs.hub; forceSSL = cfg.https; enableACME = cfg.https; quic = cfg.https;