mholt/caddy-l4

http active health check

开放

#203 创建于 2024年6月17日

 (1 条评论) (0 个反应) (0 位负责人)Go (118 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (1,753 个星标)
PR 合并指标
 (平均合并 14天 19小时) (30 天内合并 7 个 PR)

描述

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,
			
		},

贡献者指南