mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-30 10:12:45 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			403 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			403 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| :80 {
 | |
| 	route {
 | |
| 		# unused matchers should not panic
 | |
| 		# see https://github.com/caddyserver/caddy/issues/3745
 | |
| 		@matcher1 path /path1
 | |
| 		@matcher2 path /path2
 | |
| 	}
 | |
| }
 | |
| ----------
 | |
| {
 | |
| 	"apps": {
 | |
| 		"http": {
 | |
| 			"servers": {
 | |
| 				"srv0": {
 | |
| 					"listen": [
 | |
| 						":80"
 | |
| 					],
 | |
| 					"routes": [
 | |
| 						{
 | |
| 							"handle": [
 | |
| 								{
 | |
| 									"handler": "subroute"
 | |
| 								}
 | |
| 							]
 | |
| 						}
 | |
| 					]
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |