feat(public-cof): prevent nginx to bind on all IPv4
This commit is contained in:
parent
c25b0f0eee
commit
badae72a29
1 changed files with 2 additions and 0 deletions
|
@ -40,4 +40,6 @@ in {
|
||||||
firewall.allowedTCPPorts = [ 22 ];
|
firewall.allowedTCPPorts = [ 22 ];
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.defaultListenAddresses = [ "[::0]" "45.13.104.27" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue