mirror of
https://github.com/fatedier/frp.git
synced 2024-11-27 12:39:09 +08:00
update release notes (#4086)
This commit is contained in:
parent
bc5fb91c05
commit
c08be0fd92
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
This will create 8 proxies such as `tcp-6000, tcp-6001, ... tcp-6007`.
|
This will create 8 proxies such as `tcp-6000, tcp-6001, ... tcp-6007`.
|
||||||
|
|
||||||
|
* Health check supports custom request headers.
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
* Fix the issue of incorrect interval time for rotating the log by day.
|
* Fix the issue of incorrect interval time for rotating the log by day.
|
||||||
|
@ -217,7 +217,7 @@ healthCheck.intervalSeconds = 10
|
|||||||
healthCheck.maxFailed = 3
|
healthCheck.maxFailed = 3
|
||||||
healthCheck.timeoutSeconds = 3
|
healthCheck.timeoutSeconds = 3
|
||||||
# set health check headers
|
# set health check headers
|
||||||
healthCheck.httpheaders=[
|
healthCheck.httpHeaders=[
|
||||||
{ name = "x-from-where", value = "frp" }
|
{ name = "x-from-where", value = "frp" }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -97,8 +97,8 @@ type HealthCheckConfig struct {
|
|||||||
// Path specifies the path to send health checks to if the
|
// Path specifies the path to send health checks to if the
|
||||||
// health check type is "http".
|
// health check type is "http".
|
||||||
Path string `json:"path,omitempty"`
|
Path string `json:"path,omitempty"`
|
||||||
// Headers specifies the headers to send health checks to if the
|
// HTTPHeaders specifies the headers to send with the health request, if
|
||||||
// health check type is "http".
|
// the health check type is "http".
|
||||||
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty"`
|
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user