forked from Deuxfleurs/nixcfg
Ask consul to use advertised address and not bind one
This commit is contained in:
parent
00b754727d
commit
243eee4322
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ in
|
||||||
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
|
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
|
||||||
key_file = "/var/lib/nomad/pki/consul2022-client.key";
|
key_file = "/var/lib/nomad/pki/consul2022-client.key";
|
||||||
ssl = true;
|
ssl = true;
|
||||||
|
checks_use_advertise = true;
|
||||||
};
|
};
|
||||||
client = {
|
client = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
Loading…
Reference in a new issue