mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 18:10:26 +08:00
请求变量增加${cname},WAF checkpoint增加cname和isCNAME
This commit is contained in:
@@ -758,6 +758,8 @@ func (this *HTTPRequest) Format(source string) string {
|
||||
return strconv.FormatInt(this.requestFromTime.Unix(), 10)
|
||||
case "host":
|
||||
return this.ReqHost
|
||||
case "cname":
|
||||
return this.ReqServer.CNameDomain
|
||||
case "referer":
|
||||
return this.RawReq.Referer()
|
||||
case "referer.host":
|
||||
|
||||
Reference in New Issue
Block a user