Set place for nginx static website

This commit is contained in:
2024-12-27 15:45:08 +02:00
parent 38300de026
commit ef0c0d5d01

View File

@@ -8,13 +8,7 @@
}];
locations."/" = {
index = "index.html";
root = pkgs.writeTextDir "index.html" ''
<html>
<body>
Hello, world!
</body>
</html>
'';
root = /srv/website
};
};
};