Files
nats-server/server/configs/srv_b_bcrypt.conf
2018-03-15 22:31:07 -07:00

29 lines
550 B
Plaintext

# 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
]
}