Added port
This commit is contained in:
@@ -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>
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user