nginx: Explicitly set resolvers
This is required so resolving dynamic reverse proxy targets works.
This commit is contained in:
parent
d044d74272
commit
e931c76142
|
@ -48,6 +48,7 @@ in
|
||||||
recommendedOptimisation = lib.mkDefault true;
|
recommendedOptimisation = lib.mkDefault true;
|
||||||
recommendedProxySettings = lib.mkDefault true;
|
recommendedProxySettings = lib.mkDefault true;
|
||||||
recommendedTlsSettings = 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 {
|
(lib.mkIf cfg.proxyv4.enable {
|
||||||
|
|
Loading…
Reference in a new issue