From badae72a2907e1f594d6a37744d8b541beae9170 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 10 Sep 2022 16:17:01 +0200 Subject: [PATCH] feat(public-cof): prevent nginx to bind on all IPv4 --- machines/public-cof/networking.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machines/public-cof/networking.nix b/machines/public-cof/networking.nix index a902953..981eff0 100644 --- a/machines/public-cof/networking.nix +++ b/machines/public-cof/networking.nix @@ -40,4 +40,6 @@ in { firewall.allowedTCPPorts = [ 22 ]; firewall.enable = true; }; + + services.nginx.defaultListenAddresses = [ "[::0]" "45.13.104.27" ]; }