mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
When tls is on routes it can cause reloadAuthorization to be called. We were assuming configured accounts, but did not copy the remote map. This copies the remote map when transferring for configured accounts and also handles operator mode. In operator mode we leave the accounts in place, and if we have a memory resolver we will remove accounts that are not longer defined or have bad claims. Signed-off-by: Derek Collison <derek@nats.io>
17 lines
359 B
Plaintext
17 lines
359 B
Plaintext
# New Cluster config file
|
|
|
|
listen: 127.0.0.1:5343
|
|
|
|
cluster {
|
|
listen: 127.0.0.1:5344
|
|
|
|
# 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://127.0.0.1:5345
|
|
nats-route://127.0.0.1:5346
|
|
]
|
|
}
|