This commit is contained in:
Hadi 2024-06-20 01:31:30 +02:00
parent 8ec1744969
commit 1b4cd64024

View File

@ -4,10 +4,11 @@
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"anotherhadi.com" = { "anotherhadi.com" = {
serverAliases = [ "www.anotherhadi.com" ]; # serverAliases = [ "www.anotherhadi.com" ];
root = "/etc/www/anotherhadi.com"; root = "/etc/www/anotherhadi.com";
}; };
"home.anotherhadi.com" = { root = "/etc/www/home.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; }; environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
} }