This commit is contained in:
Hadi
2024-06-20 00:14:15 +02:00
parent 5db186ba9b
commit 0114f7281b
5 changed files with 29 additions and 22 deletions

View File

@@ -0,0 +1,15 @@
{
imports = [ ./home.anotherhadi.com ];
services.nginx.virtualHosts = {
"anotherhadi.com" = {
serverAliases = [ "www.anotherhadi.com" ];
root = "/etc/www/anotherhadi.com";
};
"home.anotherhadi.com" = { root = "/etc/www/home.anotherhadi.com"; };
};
environment.etc."www" = {
"anotherhadi.com" = { source = ./home.anotherhadi.com; };
};
}