add header for http healthcheck (#4085)

This commit is contained in:
Kaive Young
2024-03-20 14:58:03 +08:00
committed by GitHub
parent 002831ea82
commit bc5fb91c05
4 changed files with 22 additions and 2 deletions

View File

@@ -216,6 +216,10 @@ healthCheck.path = "/status"
healthCheck.intervalSeconds = 10
healthCheck.maxFailed = 3
healthCheck.timeoutSeconds = 3
# set health check headers
healthCheck.httpheaders=[
{ name = "x-from-where", value = "frp" }
]
[[proxies]]
name = "web02"