This commit is contained in:
Hadi
2024-06-20 02:45:24 +02:00
parent b796117725
commit a0c5bd962b
10 changed files with 97 additions and 12 deletions

View File

@@ -4,11 +4,14 @@
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"; };
"home.anotherhadi.com" = {
serverAliases = [ "jack.anotherhadi.com" ];
root = "/etc/www/home.anotherhadi.com";
};
"test.anotherhadi.com" = { root = "/var/www/test"; };
};
environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
}