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

22 lines
418 B
Plaintext

# Cluster Server A
listen: 127.0.0.1:7222
cluster {
listen: 127.0.0.1:7244
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:7246
]
}