mholt/caddy-l4

http active health check

Aberta

#203 aberto em 17 de jun. de 2024

 (1 comentário) (0 reação) (0 responsável)Go (114 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (1.738 estrelas)
Métricas de merge de PR
 (Mesclagem média 14d 19h) (7 fundiu PRs em 30d)

Description

add a way to check upstreams via http request

defined a endpoint on my host /healthy which returns ok on success currently i used haproxy but i want switch to caddy

example config in http health check:

"active": {
			"port": 0,
			"interval": 0,
			"timeout": 0,
			
			// new fields
			"type": "http",
			"host": "my-host.com",
                        "path": "/health",
                        "expect_status": 200,
			
		},

Guia do colaborador