get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/configs/srv_b.conf (about) 1 # Cluster Server B 2 3 listen: 127.0.0.1:5224 4 http: 127.0.0.1:5225 5 6 cluster { 7 listen: 127.0.0.1:5246 8 name: xyz 9 10 authorization { 11 user: ruser 12 password: top_secret 13 timeout: 0.5 14 } 15 16 # Routes are actively solicited and connected to from this server. 17 # Other servers can connect to us if they supply the correct credentials 18 # in their routes definitions from above. 19 20 routes = [ 21 nats-route://ruser:top_secret@127.0.0.1:5244 22 ] 23 } 24 25 no_sys_acc: true