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