mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
Update
This commit is contained in:
@@ -10,6 +10,21 @@
|
||||
# test
|
||||
services.nginx.virtualHosts."anotherhadi.com" = {
|
||||
serverAliases = [ "www.anotherhadi.com" ];
|
||||
root = "/var/www/default";
|
||||
root = "/etc/www/home";
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
"www/home" = {
|
||||
text = ''
|
||||
<html>
|
||||
<head>
|
||||
<title>Another Hadi</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Another Hadi</h1>
|
||||
</body>
|
||||
</html>
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user