mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
What is not completed: 1. TLS 2. config to bind local account. 3. Info updates for solicitor to track topology changes like a client. 4. CONNECT sent after INFO for nonce authroization. 5. Authorization 6. Services and Streams tests. 7. config file parsing. Signed-off-by: Derek Collison <derek@nats.io>
26 lines
458 B
Plaintext
26 lines
458 B
Plaintext
# Cluster Server A
|
|
|
|
listen: 127.0.0.1:5222
|
|
|
|
leafnodes {
|
|
listen: 127.0.0.1:5223
|
|
}
|
|
|
|
cluster {
|
|
listen: 127.0.0.1:5244
|
|
|
|
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:5246
|
|
]
|
|
}
|