mholt/caddy-l4

http active health check

開放

#203 建立於 2024年6月17日

 (1 則留言) (0 個反應) (0 位負責人)Go (114 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (1,738 顆星)
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,
			
		},

貢獻者指南