增加防盗链规则参数

This commit is contained in:
GoEdgeLab
2021-10-19 11:38:46 +08:00
parent ff5e3a3e14
commit 8a267175d9
3 changed files with 74 additions and 1 deletions

View File

@@ -198,6 +198,13 @@ var AllCheckpoints = []*CheckpointDefinition{
HasParams: true,
Instance: new(CC2Checkpoint),
},
{
Name: "防盗链",
Prefix: "refererBlock",
Description: "阻止一些域名访问引用本站资源",
HasParams: true,
Instance: new(RequestRefererBlockCheckpoint),
},
{
Name: "通用响应Header长度限制",
Prefix: "responseGeneralHeaderLength",