Former-commit-id: a0c5bd962b
This commit is contained in:
Hadi
2024-06-20 02:45:24 +02:00
parent 7617488f52
commit 2255bd8d7c
10 changed files with 97 additions and 12 deletions
+6 -3
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; };
}