cluster/services/nginx: use proper resolvers
This commit is contained in:
parent
064f306f10
commit
341be59cec
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ depot, ... }:
|
{ config, depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (depot.lib.meta) adminEmail;
|
inherit (depot.lib.meta) adminEmail;
|
||||||
|
@ -13,7 +13,7 @@ in {
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
proxyResolveWhileRunning = true;
|
proxyResolveWhileRunning = true;
|
||||||
resolver = {
|
resolver = {
|
||||||
addresses = [ "127.0.0.1" ];
|
addresses = config.networking.nameservers;
|
||||||
valid = "30s";
|
valid = "30s";
|
||||||
};
|
};
|
||||||
appendHttpConfig = ''
|
appendHttpConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue