Update
This commit is contained in:
parent
8ec1744969
commit
1b4cd64024
@ -4,10 +4,11 @@
|
|||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"anotherhadi.com" = {
|
"anotherhadi.com" = {
|
||||||
serverAliases = [ "www.anotherhadi.com" ];
|
# serverAliases = [ "www.anotherhadi.com" ];
|
||||||
root = "/etc/www/anotherhadi.com";
|
root = "/etc/www/anotherhadi.com";
|
||||||
};
|
};
|
||||||
"home.anotherhadi.com" = { root = "/etc/www/home.anotherhadi.com"; };
|
"home.anotherhadi.com" = { root = "/etc/www/home.anotherhadi.com"; };
|
||||||
|
"www.anotherhadi.com" = { root = "/var/www/test"; };
|
||||||
};
|
};
|
||||||
environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
|
environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user