mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
13
hosts/server/modules/www/default.nix
Normal file
13
hosts/server/modules/www/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
|
||||
imports = [ ./homepage.nix ];
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"anotherhadi.com" = {
|
||||
serverAliases = [ "www.anotherhadi.com" ];
|
||||
root = "/etc/www/anotherhadi.com";
|
||||
};
|
||||
"test.anotherhadi.com" = { root = "/var/www/test"; };
|
||||
};
|
||||
environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
|
||||
}
|
||||
Reference in New Issue
Block a user