mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
add header for http healthcheck (#4085)
This commit is contained in:
parent
002831ea82
commit
bc5fb91c05
4 changed files with 22 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue