This commit is contained in:
Hadi
2024-06-20 12:09:20 +02:00
parent 0cc6e18f3d
commit 5bdbfb3a5f
6 changed files with 29 additions and 24 deletions

View File

@@ -1,16 +1,16 @@
{
imports = [ ./home.anotherhadi.com ];
imports = [ ./home.anotherhadi.com ./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";
};
# "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; };