Configuration
The cluster
configuration map has the following configuration options:
Property
Description
host
Interface where the gateway will listen for incoming route connections.
port
Port where the gateway will listen for incoming route connections.
listen
Combines host
and port
as <host>:<port>
.
tls
advertise
Hostport <host>:<port>
to advertise how this server can be contacted by other cluster members. This is useful in setups with NAT.
no_advertise
When set to true
, do not advertise this server to clients.
routes
A list of other servers (URLs) to cluster with. Self-routes are ignored. Should authentication via token
or username
/password
be required, specify them as part of the URL.
connect_retries
After how many failed connect attempts to give up establishing a connection to a discovered route. Default is 0
, do not retry. When enabled, attempts will be made once a second. This, does not apply to explicitly configured routes.
authorization
最后更新于
这有帮助吗?