It makes it possible to serve multiple Discord instances to different hosts from a single nginx load balancer Right now we run one for Kosmos and one for remoteStorage
		
			
				
	
	
		
			6 lines
		
	
	
		
			216 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			216 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# Set it in the wrapper cookbook
 | 
						|
# node['discourse']['domain'] = "community.example.com"
 | 
						|
# Override it in the wrapper cookbook
 | 
						|
node.default['discourse']['role'] = "discourse"
 | 
						|
node.default['discourse']['port'] = 3001
 | 
						|
 |