mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-30 18:22:49 -04:00 
			
		
		
		
	
		
			Some checks failed
		
		
	
	Tests / test (./cmd/caddy/caddy, ~1.21.0, ubuntu-latest, 0, 1.21, linux) (push) Failing after 4s
				
			Tests / test (./cmd/caddy/caddy, ~1.22.3, ubuntu-latest, 0, 1.22, linux) (push) Failing after 2s
				
			Tests / test (s390x on IBM Z) (push) Has been skipped
				
			Tests / goreleaser-check (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, aix) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, darwin) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, dragonfly) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, freebsd) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, illumos) (push) Failing after 3s
				
			Cross-Build / build (~1.22.3, 1.22, linux) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, netbsd) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, openbsd) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, solaris) (push) Failing after 2s
				
			Cross-Build / build (~1.22.3, 1.22, windows) (push) Failing after 3s
				
			Lint / lint (ubuntu-latest, linux) (push) Failing after 2s
				
			Lint / govulncheck (push) Failing after 1s
				
			Tests / test (./cmd/caddy/caddy, ~1.21.0, macos-14, 0, 1.21, mac) (push) Has been cancelled
				
			Tests / test (./cmd/caddy/caddy, ~1.22.3, macos-14, 0, 1.22, mac) (push) Has been cancelled
				
			Tests / test (./cmd/caddy/caddy.exe, ~1.21.0, windows-latest, True, 1.21, windows) (push) Has been cancelled
				
			Tests / test (./cmd/caddy/caddy.exe, ~1.22.3, windows-latest, True, 1.22, windows) (push) Has been cancelled
				
			Lint / lint (macos-14, mac) (push) Has been cancelled
				
			Lint / lint (windows-latest, windows) (push) Has been cancelled
				
			* Add an option to specify the body used for active health checks * Replacer on request body
		
			
				
	
	
		
			41 lines
		
	
	
		
			574 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			574 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| :8884
 | |
| 
 | |
| reverse_proxy 127.0.0.1:65535 {
 | |
| 	health_uri /health
 | |
| 	health_request_body "test body"
 | |
| }
 | |
| ----------
 | |
| {
 | |
| 	"apps": {
 | |
| 		"http": {
 | |
| 			"servers": {
 | |
| 				"srv0": {
 | |
| 					"listen": [
 | |
| 						":8884"
 | |
| 					],
 | |
| 					"routes": [
 | |
| 						{
 | |
| 							"handle": [
 | |
| 								{
 | |
| 									"handler": "reverse_proxy",
 | |
| 									"health_checks": {
 | |
| 										"active": {
 | |
| 											"body": "test body",
 | |
| 											"uri": "/health"
 | |
| 										}
 | |
| 									},
 | |
| 									"upstreams": [
 | |
| 										{
 | |
| 											"dial": "127.0.0.1:65535"
 | |
| 										}
 | |
| 									]
 | |
| 								}
 | |
| 							]
 | |
| 						}
 | |
| 					]
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| }
 |