1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00
This commit is contained in:
Ginger Collison 2019-07-16 16:59:38 -05:00 committed by GitHub
parent 511c8f9157
commit 86bab99a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,8 @@ Create the leaf server configuration (leaf.conf) with the following contents:
port: 4111
leafnodes {
remotes = [
{ url: [nats-leaf://localhost:4000]
{
url: "nats-leaf://localhost:4000"
credentials: "/Users/synadia/.nkeys/O/accounts/A/users/leaf.creds"
},
]
@ -92,8 +93,9 @@ The leaf server configuration (leaf.conf) also supports multiple URLs with `urls
port: 4111
leafnodes {
remotes = [
{ urls: [nats-leaf://host1:4000, nats-leaf://host2:4000]
credentials: "/Users/synadia/.nkeys/O/accounts/A/users/leaf.creds"
{
urls: ["nats-leaf://host1:4000", "nats-leaf://host2:4000"]
credentials: "/Users/synadia/.nkeys/O/accounts/A/users/leaf.creds"
},
]
}