committed by
							
								 GitHub
								GitHub
							
						
					
				
				 3 changed files with 58 additions and 1 deletions
			
			
		| @ -0,0 +1,52 @@ | |||||
|  | { | ||||
|  | 	default_bind tcp4/0.0.0.0 | ||||
|  | } | ||||
|  | 
 | ||||
|  | example.com { | ||||
|  | } | ||||
|  | 
 | ||||
|  | example.org:12345 { | ||||
|  | } | ||||
|  | ---------- | ||||
|  | { | ||||
|  | 	"apps": { | ||||
|  | 		"http": { | ||||
|  | 			"servers": { | ||||
|  | 				"srv0": { | ||||
|  | 					"listen": [ | ||||
|  | 						"tcp4/0.0.0.0:12345" | ||||
|  | 					], | ||||
|  | 					"routes": [ | ||||
|  | 						{ | ||||
|  | 							"match": [ | ||||
|  | 								{ | ||||
|  | 									"host": [ | ||||
|  | 										"example.org" | ||||
|  | 									] | ||||
|  | 								} | ||||
|  | 							], | ||||
|  | 							"terminal": true | ||||
|  | 						} | ||||
|  | 					] | ||||
|  | 				}, | ||||
|  | 				"srv1": { | ||||
|  | 					"listen": [ | ||||
|  | 						"tcp4/0.0.0.0:443" | ||||
|  | 					], | ||||
|  | 					"routes": [ | ||||
|  | 						{ | ||||
|  | 							"match": [ | ||||
|  | 								{ | ||||
|  | 									"host": [ | ||||
|  | 										"example.com" | ||||
|  | 									] | ||||
|  | 								} | ||||
|  | 							], | ||||
|  | 							"terminal": true | ||||
|  | 						} | ||||
|  | 					] | ||||
|  | 				} | ||||
|  | 			} | ||||
|  | 		} | ||||
|  | 	} | ||||
|  | } | ||||
					Loading…
					
					
				
		Reference in new issue