nginx: Explicitly set resolvers

This is required so resolving dynamic reverse proxy targets works.
This commit is contained in:
Simon Bruder 2024-12-15 17:10:57 +01:00
parent d044d74272
commit e931c76142
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -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 {