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