aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 20:03:31 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 20:03:31 +0200
commit243eee4322b8db098b89a13680b1dba2077498b3 (patch)
treebf163ce62eb847edcc8df5bc342ecb8244a5b34c /nix
parent00b754727d9b16b13de7591b07d5bf0635029c4b (diff)
downloadnixcfg-243eee4322b8db098b89a13680b1dba2077498b3.tar.gz
nixcfg-243eee4322b8db098b89a13680b1dba2077498b3.zip
Ask consul to use advertised address and not bind one
Diffstat (limited to 'nix')
-rw-r--r--nix/deuxfleurs.nix1
1 files changed, 1 insertions, 0 deletions
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;