mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
23 lines
439 B
Plaintext
23 lines
439 B
Plaintext
# Cluster Server B
|
|
|
|
listen: 127.0.0.1:5224
|
|
http: 127.0.0.1:5225
|
|
|
|
cluster {
|
|
listen: 127.0.0.1:5246
|
|
|
|
authorization {
|
|
user: ruser
|
|
password: top_secret
|
|
timeout: 0.5
|
|
}
|
|
|
|
# Routes are actively solicited and connected to from this server.
|
|
# Other servers can connect to us if they supply the correct credentials
|
|
# in their routes definitions from above.
|
|
|
|
routes = [
|
|
nats-route://ruser:top_secret@127.0.0.1:5244
|
|
]
|
|
}
|