From c5dd4a9fde3bd07440149e6e6ba65d2f7565f683 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Mon, 12 Dec 2022 15:39:02 +0100 Subject: [PATCH] make nginx listen on 127.0.0.2 and loopback ipv6 as well --- services/nginx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/nginx/default.nix b/services/nginx/default.nix index 3574f99..f2a97a5 100644 --- a/services/nginx/default.nix +++ b/services/nginx/default.nix @@ -10,7 +10,7 @@ services.nginx = { enable = true; - defaultListenAddresses = [ "129.241.210.169" "127.0.0.1" "[2001:700:300:1900::169]" ]; + defaultListenAddresses = [ "129.241.210.169" "127.0.0.1" "127.0.0.2" "[2001:700:300:1900::169]" "[::1]" ]; recommendedProxySettings = true; recommendedTlsSettings = true;