vm: Serve todo-app from www directory
This commit is contained in:
parent
a7f07853ee
commit
dbbc8c63b8
2 changed files with 24 additions and 7 deletions
|
|
@ -6,13 +6,7 @@
|
|||
virtualHosts.localhost.locations."/" = {
|
||||
index = "index.html";
|
||||
|
||||
root = pkgs.writeTextDir "index.html" ''
|
||||
<html>
|
||||
<body>
|
||||
Hello World!
|
||||
</body>
|
||||
</html>
|
||||
'';
|
||||
root = ./www;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue