Files
nats-server/server/configs/srv_a.conf
2015-12-07 18:22:53 -07:00

27 lines
488 B
Plaintext

# Copyright 2012-2015 Apcera Inc. All rights reserved.
# Cluster Server A
port: 7222
net: '127.0.0.1'
cluster {
host: '127.0.0.1'
port: 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
]
}