Move listener address in worker config example (#834)

* Move listener address in worker config example

This fixes: The address wrongly being documented as part of the `worker` block, despite belonging into the listener

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
pull/835/head
Simon Frey 5 years ago committed by GitHub
parent 07eb7ddc62
commit ea878e49fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,6 @@ The `worker` stanza configures Boundary worker-specific parameters.
worker {
name = "example-worker"
description = "An example worker"
address = 127.0.0.1
public_addr = "5.1.23.198"
}
```
@ -24,9 +23,6 @@ cluster.
- `description` - Specifies a friendly description of this worker.
- `address` - Specifies the IP address for the worker listener to bind on. Defaults to
127.0.0.1:9202 if not specified. If address is specified but only an IP address is given, the port will default to 9202.
- `public_addr` - Specifies the public host or IP address (and optionally port)
at which the worker can be reached _by clients for proxying_. This defaults to
the address of the listener marked for `proxy` purpose. This is especially
@ -74,13 +70,13 @@ KMS types, see our [KMS documentation](/docs/configuration/kms).
listener "tcp" {
purpose = "proxy"
tls_disable = true
address = 127.0.0.1
}
worker {
# Name attr must be unique across workers
name = "demo-worker-1"
description = "A default worker created demonstration"
address = 127.0.0.1
# Workers must be able to reach controllers on :9202
controllers = [

Loading…
Cancel
Save