mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-16 23:20:25 +08:00
修改相关域名
This commit is contained in:
@@ -124,7 +124,7 @@ var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{
|
|||||||
{
|
{
|
||||||
Name: "主机名",
|
Name: "主机名",
|
||||||
Prefix: "host",
|
Prefix: "host",
|
||||||
Description: "比如teaos.cn",
|
Description: "比如goedge.cn",
|
||||||
IsRequest: true,
|
IsRequest: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,13 +102,13 @@ var AllRuleOperators = []*RuleOperatorDefinition{
|
|||||||
{
|
{
|
||||||
Name: "正则匹配",
|
Name: "正则匹配",
|
||||||
Code: HTTPFirewallRuleOperatorMatch,
|
Code: HTTPFirewallRuleOperatorMatch,
|
||||||
Description: "使用正则表达式匹配,在头部使用(?i)表示不区分大小写,<a href=\"http://teaos.cn/doc/regexp/Regexp.md\" target=\"_blank\">正则表达式语法 »</a>",
|
Description: "使用正则表达式匹配,在头部使用(?i)表示不区分大小写,<a href=\"https://goedge.cn/docs/Appendix/Regexp/Index.md\" target=\"_blank\">正则表达式语法 »</a>",
|
||||||
CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes,
|
CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "正则不匹配",
|
Name: "正则不匹配",
|
||||||
Code: HTTPFirewallRuleOperatorNotMatch,
|
Code: HTTPFirewallRuleOperatorNotMatch,
|
||||||
Description: "使用正则表达式不匹配,在头部使用(?i)表示不区分大小写,<a href=\"http://teaos.cn/doc/regexp/Regexp.md\" target=\"_blank\">正则表达式语法 »</a>",
|
Description: "使用正则表达式不匹配,在头部使用(?i)表示不区分大小写,<a href=\"https://goedge.cn/docs/Appendix/Regexp/Index.md\" target=\"_blank\">正则表达式语法 »</a>",
|
||||||
CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes,
|
CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ func AllLocationPatternTypes() []maps.Map {
|
|||||||
{
|
{
|
||||||
"name": "正则表达式匹配",
|
"name": "正则表达式匹配",
|
||||||
"type": HTTPLocationPatternTypeRegexp,
|
"type": HTTPLocationPatternTypeRegexp,
|
||||||
"description": "通过正则表达式来匹配路径,<a href=\"http://teaos.cn/doc/regexp/Regexp.md\" target=\"_blank\">正则表达式语法 »</a>",
|
"description": "通过正则表达式来匹配路径,<a href=\"https://goedge.cn/docs/Appendix/Regexp/Index.md\" target=\"_blank\">正则表达式语法 »</a>",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user