cluster/services/nginx: use proper resolvers

This commit is contained in:
Max Headroom 2024-08-02 22:46:05 +02:00
parent 064f306f10
commit 341be59cec

View file

@ -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 = ''