This commit is contained in:
Hadi
2024-06-21 13:14:54 +02:00
parent 1ce9d2e46f
commit feea4f5ad9
3 changed files with 97 additions and 322 deletions

View File

@@ -1,16 +1,12 @@
{
imports = [ ./home.anotherhadi.com ./homepage.nix ];
imports = [ ./homepage.nix ];
services.nginx.virtualHosts = {
"anotherhadi.com" = {
serverAliases = [ "www.anotherhadi.com" ];
root = "/etc/www/anotherhadi.com";
};
# "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; };