使用域名来分类配置
This commit is contained in:
parent
bd7c653c42
commit
c8409a8775
10
FastGithub/appsettings.cloudflare.json
Normal file
10
FastGithub/appsettings.cloudflare.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"FastGithub": {
|
||||||
|
"DomainConfigs": {
|
||||||
|
"cdnjs.cloudflare.com": {
|
||||||
|
"TlsSni": true,
|
||||||
|
"Destination": "https://cdnjs.loli.net/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -6,11 +6,6 @@
|
|||||||
},
|
},
|
||||||
"*.*.fastly.net": {
|
"*.*.fastly.net": {
|
||||||
"TlsSni": false
|
"TlsSni": false
|
||||||
},
|
|
||||||
"accounts.google.com": {
|
|
||||||
"Response": {
|
|
||||||
"StatusCode": 404
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -21,9 +21,20 @@
|
|||||||
"TlsSni": true,
|
"TlsSni": true,
|
||||||
"Destination": "https://sdn.geekzu.org/"
|
"Destination": "https://sdn.geekzu.org/"
|
||||||
},
|
},
|
||||||
"cdnjs.cloudflare.com": {
|
"lh*.googleusercontent.com": {
|
||||||
"TlsSni": true,
|
"Response": {
|
||||||
"Destination": "https://cdnjs.loli.net/"
|
"StatusCode": 404
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"google.com": {
|
||||||
|
"Response": {
|
||||||
|
"StatusCode": 404
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"*.google.com": {
|
||||||
|
"Response": {
|
||||||
|
"StatusCode": 404
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -8,17 +8,7 @@
|
|||||||
"i.*.imgur.com": {
|
"i.*.imgur.com": {
|
||||||
"IPAddress": "146.75.8.193",
|
"IPAddress": "146.75.8.193",
|
||||||
"TlsIgnoreNameMismatch": true
|
"TlsIgnoreNameMismatch": true
|
||||||
},
|
|
||||||
"lh*.googleusercontent.com": {
|
|
||||||
"Response": {
|
|
||||||
"StatusCode": 404
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"www.google.com": {
|
|
||||||
"Response": {
|
|
||||||
"StatusCode": 404
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user