增加配置样例
This commit is contained in:
parent
af691c2ac8
commit
4ee64d7eac
@ -23,6 +23,9 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="appsettings.domain.json.example">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="appsettings.github.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
23
FastGithub/appsettings.domain.json.example
Normal file
23
FastGithub/appsettings.domain.json.example
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"Lookup": { // ip查找
|
||||
"Domains": [ // 查找的域名,下面是要加速的域名
|
||||
"domain.com",
|
||||
"xx.domain.com",
|
||||
"yy.domain.com"
|
||||
]
|
||||
},
|
||||
"Scan": { // 扫描规则
|
||||
"HttpsScan": {
|
||||
"Rules": { // 域名扫描规则,缺失的域名,将默认HEAD请求到域名的根路径
|
||||
"xx.domain.com": {
|
||||
"Method": "HEAD",
|
||||
"Path": "/xx/"
|
||||
},
|
||||
"yy.domain.com": {
|
||||
"Method": "HEAD",
|
||||
"Path": "/yy/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user