mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Take 2
This commit is contained in:
parent
511c8f9157
commit
86bab99a40
@ -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"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user