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
|
||||
inherit (depot.lib.meta) adminEmail;
|
||||
|
@ -13,7 +13,7 @@ in {
|
|||
recommendedGzipSettings = true;
|
||||
proxyResolveWhileRunning = true;
|
||||
resolver = {
|
||||
addresses = [ "127.0.0.1" ];
|
||||
addresses = config.networking.nameservers;
|
||||
valid = "30s";
|
||||
};
|
||||
appendHttpConfig = ''
|
||||
|
|
Loading…
Reference in a new issue