mirror of
				https://github.com/taigrr/nats.docs
				synced 2025-01-18 04:03:23 -08:00 
			
		
		
		
	updates based on Ivan's re-write
This commit is contained in:
		
							parent
							
								
									83fe06f93e
								
							
						
					
					
						commit
						511c8f9157
					
				| @ -79,8 +79,8 @@ Create the leaf server configuration (leaf.conf) with the following contents: | |||||||
| port: 4111 | port: 4111 | ||||||
| leafnodes { | leafnodes { | ||||||
| 	remotes = [  | 	remotes = [  | ||||||
| 		{ url: nats-leaf://localhost:4000,  | 		{ url: [nats-leaf://localhost:4000]  | ||||||
| 		  credentials: /Users/synadia/.nkeys/O/accounts/A/users/leaf.creds  | 		  credentials: "/Users/synadia/.nkeys/O/accounts/A/users/leaf.creds" | ||||||
| 		}, | 		}, | ||||||
| 	] | 	] | ||||||
| } | } | ||||||
| @ -92,8 +92,8 @@ The leaf server configuration (leaf.conf) also supports multiple URLs with `urls | |||||||
| port: 4111 | port: 4111 | ||||||
| leafnodes { | leafnodes { | ||||||
| 	remotes = [  | 	remotes = [  | ||||||
| 		{ urls: nats-leaf://host1:4000, nats-leaf://host2:4000, | 		{ urls: [nats-leaf://host1:4000, nats-leaf://host2:4000] | ||||||
| 		  credentials: /Users/synadia/.nkeys/O/accounts/A/users/leaf.creds  | 		  credentials: "/Users/synadia/.nkeys/O/accounts/A/users/leaf.creds" | ||||||
| 		}, | 		}, | ||||||
| 	] | 	] | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user