From 1b4cd64024dbcbfe04befc84d81525efe3eb2003 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 20 Jun 2024 01:31:30 +0200 Subject: [PATCH] Update --- hosts/modules/server/www/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/modules/server/www/default.nix b/hosts/modules/server/www/default.nix index c8b984b..735d006 100644 --- a/hosts/modules/server/www/default.nix +++ b/hosts/modules/server/www/default.nix @@ -4,10 +4,11 @@ services.nginx.virtualHosts = { "anotherhadi.com" = { - serverAliases = [ "www.anotherhadi.com" ]; + # serverAliases = [ "www.anotherhadi.com" ]; root = "/etc/www/anotherhadi.com"; }; "home.anotherhadi.com" = { root = "/etc/www/home.anotherhadi.com"; }; + "www.anotherhadi.com" = { root = "/var/www/test"; }; }; environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; }; }