vm: Serve todo-app from www directory

This commit is contained in:
Alexander Kobjolke 2024-01-14 21:43:05 +01:00
parent a7f07853ee
commit dbbc8c63b8
2 changed files with 24 additions and 7 deletions

View file

@ -6,13 +6,7 @@
virtualHosts.localhost.locations."/" = {
index = "index.html";
root = pkgs.writeTextDir "index.html" ''
<html>
<body>
Hello World!
</body>
</html>
'';
root = ./www;
};
};
};