From e910f3728156ef43443e8a0e57bb7752f52d6d6b Mon Sep 17 00:00:00 2001 From: Yoko Hyakuna Date: Mon, 10 Apr 2023 14:06:43 -0700 Subject: [PATCH] Updated the example config with api_addr parameter (#19985) (#20068) --- website/content/docs/configuration/index.mdx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/website/content/docs/configuration/index.mdx b/website/content/docs/configuration/index.mdx index 390c1d622bbd..7b430454330d 100644 --- a/website/content/docs/configuration/index.mdx +++ b/website/content/docs/configuration/index.mdx @@ -13,15 +13,21 @@ The format of this file is [HCL](https://github.com/hashicorp/hcl) or JSON. An example configuration is shown below: -```javascript +```hcl +ui = true +cluster_addr = "https://127.0.0.1:8201" +api_addr = "https://127.0.0.1:8200" +disable_mlock = true + storage "consul" { address = "127.0.0.1:8500" path = "vault/" } listener "tcp" { - address = "127.0.0.1:8200" - tls_disable = 1 + address = "127.0.0.1:8200" + tls_cert_file = "/path/to/full-chain.pem" + tls_key_file = "/path/to/private-key.pem" } telemetry {