aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-10-18 21:17:11 +0200
committerAlex Auvolat <alex@adnab.me>2022-10-18 21:17:11 +0200
commit8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6 (patch)
treebf5b64bd594972a6827ee3a6eacf5e58710c0d12 /doc
parent2da8786f54dcf13bed51549f818a1af3bbebaa8c (diff)
downloadgarage-8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6.tar.gz
garage-8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6.zip
Fix issue with 'http(s)://' prefixconsul-tls
Diffstat (limited to 'doc')
-rw-r--r--doc/book/reference-manual/configuration.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index dc75236b..2d9c3f0c 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -33,7 +33,7 @@ bootstrap_peers = [
[consul_discovery]
-consul_host = "consul.service"
+consul_http_addr = "http://127.0.0.1:8500"
service_name = "garage-daemon"
ca_cert = "/etc/consul/consul-ca.crt"
client_cert = "/etc/consul/consul-client.crt"
@@ -306,9 +306,9 @@ Garage supports discovering other nodes of the cluster using Consul. For this
to work correctly, nodes need to know their IP address by which they can be
reached by other nodes of the cluster, which should be set in `rpc_public_addr`.
-### `consul_host` and `service_name`
+### `consul_http_addr` and `service_name`
-The `consul_host` parameter should be set to the full HTTP(S) address of the Consul server.
+The `consul_http_addr` parameter should be set to the full HTTP(S) address of the Consul server.
### `service_name`