mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-02 17:15:48 +08:00
健康检查增加是否记录访问日志选项
This commit is contained in:
@@ -23,6 +23,7 @@ type HealthCheckConfig struct {
|
||||
CountDown int `yaml:"countDown" json:"countDown"` // 连续离线认定次数
|
||||
UserAgent string `yaml:"userAgent" json:"userAgent"` // 发起请求用的UserAgent
|
||||
OnlyBasicRequest bool `yaml:"onlyBasicRequest" json:"onlyBasicRequest"` // 只做基础的请求,不处理WAF、反向代理等
|
||||
AccessLogIsOn bool `yaml:"accessLogIsOn" json:"accessLogIsOn"` // 是否关闭访问日志
|
||||
}
|
||||
|
||||
// Init 初始化
|
||||
|
||||
Reference in New Issue
Block a user