From 243eee4322b8db098b89a13680b1dba2077498b3 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 24 Aug 2022 20:03:31 +0200 Subject: Ask consul to use advertised address and not bind one --- nix/deuxfleurs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index a35d8b5..20f0ebe 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -259,6 +259,7 @@ in cert_file = "/var/lib/nomad/pki/consul2022-client.crt"; key_file = "/var/lib/nomad/pki/consul2022-client.key"; ssl = true; + checks_use_advertise = true; }; client = { enabled = true; -- cgit v1.2.3