mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-16 14:50:25 +08:00
管理系统安全设置增加“自定义客户端IP报头”
This commit is contained in:
@@ -16,6 +16,8 @@ type SecurityConfig struct {
|
|||||||
CheckClientFingerprint bool `json:"checkClientFingerprint"` // 在登录状态下检查客户端指纹
|
CheckClientFingerprint bool `json:"checkClientFingerprint"` // 在登录状态下检查客户端指纹
|
||||||
CheckClientRegion bool `json:"checkClientRegion"` // 在登录状态下检查客户端区域
|
CheckClientRegion bool `json:"checkClientRegion"` // 在登录状态下检查客户端区域
|
||||||
|
|
||||||
|
ClientIPHeaderNames string `json:"clientIPHeaderNames"` // 客户端IP获取报头名称列表
|
||||||
|
|
||||||
allowIPRanges []*shared.IPRangeConfig
|
allowIPRanges []*shared.IPRangeConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user