forked from Deuxfleurs/nixcfg
consul config: update deprecated options
This commit is contained in:
parent
cd629a86e9
commit
fa0c3203f1
1 changed files with 8 additions and 6 deletions
|
@ -328,12 +328,14 @@ in
|
||||||
rpc_hold_timeout = "70s";
|
rpc_hold_timeout = "70s";
|
||||||
};
|
};
|
||||||
|
|
||||||
ca_file = "/var/lib/consul/pki/consul-ca.crt";
|
tls.defaults = {
|
||||||
cert_file = "/var/lib/consul/pki/consul.crt";
|
ca_file = "/var/lib/consul/pki/consul-ca.crt";
|
||||||
key_file = "/var/lib/consul/pki/consul.key";
|
cert_file = "/var/lib/consul/pki/consul.crt";
|
||||||
verify_incoming = true;
|
key_file = "/var/lib/consul/pki/consul.key";
|
||||||
verify_outgoing = true;
|
verify_incoming = true;
|
||||||
verify_server_hostname = true;
|
verify_outgoing = true;
|
||||||
|
};
|
||||||
|
tls.internal_rpc.verify_server_hostname = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nomad.enable = true;
|
services.nomad.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue