mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 10:40:41 -07:00
31 lines
606 B
Plaintext
31 lines
606 B
Plaintext
# Copyright 2012-2016 Apcera Inc. All rights reserved.
|
|
|
|
# Cluster Server B
|
|
|
|
listen: 127.0.0.1:7224
|
|
|
|
authorization {
|
|
user: user
|
|
password: foo
|
|
timeout: 2
|
|
}
|
|
|
|
cluster {
|
|
listen: 127.0.0.1:7246
|
|
|
|
authorization {
|
|
user: ruser
|
|
# bcrypt version of 'bar'
|
|
password: $2a$10$LoRPzN3GtF2pNX5QgCBBHeUr6/zVN./RVGOu5U8SpHyg2sfzvfXji
|
|
timeout: 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:bar@127.0.0.1:7244
|
|
]
|
|
}
|