From e931c76142548f0351b43c4d3aaac3594ffe8460 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 15 Dec 2024 17:10:57 +0100 Subject: [PATCH] nginx: Explicitly set resolvers This is required so resolving dynamic reverse proxy targets works. --- modules/nginx.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nginx.nix b/modules/nginx.nix index 09c93a5..e352da8 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -48,6 +48,7 @@ in recommendedOptimisation = lib.mkDefault true; recommendedProxySettings = lib.mkDefault true; recommendedTlsSettings = lib.mkDefault true; + resolver.addresses = [ "9.9.9.9" "[2620:fe::fe]" "149.112.112.112" "[2620:fe::9]" ]; }; }) (lib.mkIf cfg.proxyv4.enable {