This commit is contained in:
Hadi
2024-06-20 00:14:15 +02:00
parent 5db186ba9b
commit 0114f7281b
5 changed files with 29 additions and 22 deletions

View File

@@ -7,24 +7,4 @@
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
# test
services.nginx.virtualHosts."anotherhadi.com" = {
serverAliases = [ "www.anotherhadi.com" ];
root = "/etc/www/home";
};
environment.etc = {
"www/home/index.html" = {
text = ''
<html>
<head>
<title>Another Hadi</title>
</head>
<body>
<h1>Another Hadi</h1>
</body>
</html>
'';
};
};
}