From 0fd0d31a33ddb24747b5887d5f44de0a54eb4e9d Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 11 Feb 2025 19:08:58 +0100 Subject: Define base HTML server page Signed-off-by: Mel --- modules/www/tailnet.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/www/tailnet.nix') diff --git a/modules/www/tailnet.nix b/modules/www/tailnet.nix index df70a55..8ef50cc 100644 --- a/modules/www/tailnet.nix +++ b/modules/www/tailnet.nix @@ -1,5 +1,6 @@ { me, + config, lib, pkgs, ... @@ -80,7 +81,7 @@ in listenAddresses = [ me.tailscale.ip ]; # point to the default page, for now! locations."/" = { - alias = "/var/www/html/"; + alias = "${config.services.nginx.virtualHosts.base.root}/"; }; extraConfig = '' access_log /var/log/nginx/tailnet.access.log json_combined; -- cgit 1.4.1