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; }; }