Added port

This commit is contained in:
2024-12-26 19:45:15 +02:00
parent b819ad292a
commit 229bd7677b

View File

@@ -3,15 +3,18 @@
getty.autologinUser = "root";
nginx = {
enable = true;
virtualHosts."185.170.113.195".locations."/" = {
index = "index.html";
root = pkgs.writeTextDir "index.html" ''
<html>
<body>
Hello, world!
</body>
</html>
'';
virtualHosts."185.170.113.195" = {
listen = [ 80 ];
locations."/" = {
index = "index.html";
root = pkgs.writeTextDir "index.html" ''
<html>
<body>
Hello, world!
</body>
</html>
'';
};
};
};
};