mirror of https://github.com/hashicorp/consul
Backport of Fix the server/client typo in the Agent docs into release/1.19.x (#21702)
backport of commit 12b67768a5
Co-authored-by: Brian Mathiyakom <brian@mathiyakom.net>
pull/21706/head
parent
364ee084b3
commit
ddcefe47f3
|
@ -382,8 +382,8 @@ The `client_addr` configuration specifies IP addresses used for HTTP, HTTPS, DNS
|
||||||
<CodeTabs>
|
<CodeTabs>
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
node_name = "consul-server"
|
node_name = "consul-client"
|
||||||
server = true
|
server = false
|
||||||
bootstrap = true
|
bootstrap = true
|
||||||
ui_config {
|
ui_config {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
@ -405,8 +405,8 @@ advertise_addr = "{{ GetInterfaceIP \"en0\" }}"
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"node_name": "consul-server",
|
"node_name": "consul-client",
|
||||||
"server": true,
|
"server": false,
|
||||||
"bootstrap": true,
|
"bootstrap": true,
|
||||||
"ui_config": {
|
"ui_config": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
|
Loading…
Reference in New Issue