feat(public-cof): prevent nginx to bind on all IPv4

This commit is contained in:
Raito Bezarius 2022-09-10 16:17:01 +02:00
parent c25b0f0eee
commit badae72a29

View file

@ -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" ];
} }