set ips
This commit is contained in:
parent
0caa35fe9a
commit
f66bb1f538
3 changed files with 23 additions and 2 deletions
|
@ -41,7 +41,17 @@
|
|||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
networking.usePredictableInterfaceNames = false;
|
||||
|
||||
networking = {
|
||||
interfaces.ens18 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "94.45.254.4";
|
||||
prefixLength = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = "94.45.254.1";
|
||||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue