Files
nats-server/server/configs/srv_a_bcrypt.conf
Ivan Kozlovic 7becd0ceeb Fix ports for cluster bcrypt auth config files in server package
The ports were conflicting with the 'test' package when running
the test suite in parallel (go test -race -v ./...)
2016-02-23 21:32:48 -07:00

33 lines
620 B
Plaintext

# Copyright 2012-2016 Apcera Inc. All rights reserved.
# Cluster Server A
host: '127.0.0.1'
port: 7222
authorization {
user: user
password: foo
timeout: 2
}
cluster {
host: '127.0.0.1'
port: 7244
authorization {
user: ruser
# bcrypt version of 'bar'
password: $2a$11$lnaSz3ya7RQ3QK9T9pBPyen1WRLz4QGLu6mI3kC701NUWcBO0bml6
timeout: 2
}
# 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:7246
]
}