复制 gitee/docmirror 分支的远程配置文件

pull/376/head
王良 2024-10-16 18:04:05 +08:00
parent 8857449217
commit 6add5c1138
1 changed files with 115 additions and 2 deletions

View File

@ -1,11 +1,31 @@
{ {
"server": { "server": {
"compatible": {
"connect": {
"218.18.106.132:443": {
"ssl": true
}
},
"request": {
"218.18.106.132:443": {
"rejectUnauthorized": false
}
}
},
"intercepts": { "intercepts": {
"github.com": { "github.com": {
"^(/[\\w-.]+){2,}/?(\\?.*)?$": { "^(/[\\w-.]+){2,}/?(\\?.*)?$": {
"tampermonkeyScript": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/tampermonkey.js", "tampermonkeyScript": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/tampermonkey.js",
"script": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/GithubEnhanced-High-Speed-Download.user.js" "script": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/GithubEnhanced-High-Speed-Download.user.js"
}, },
"^(/[^/]+){2}/releases/download/.*$": {
"redirect": "ghp.ci/https://github.com",
"desc": "release文件加速下载重定向地址"
},
"^(/[^/]+){2}/archive/.*\\.(zip|tar.gz)$": {
"redirect": "ghp.ci/https://github.com",
"desc": "release源代码加速下载重定向地址"
},
"^((/[^/]+){2,})/raw((/[^/]+)+\\.(jpg|jpeg|png|gif))(\\?.*)?$": { "^((/[^/]+){2,})/raw((/[^/]+)+\\.(jpg|jpeg|png|gif))(\\?.*)?$": {
"sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置故补充此配置 "sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置故补充此配置
}, },
@ -13,11 +33,21 @@
"sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置故补充此配置 "sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置故补充此配置
} }
}, },
"api.github.com": {
".*": {
"sni": "baidu.com"
}
},
"github.githubassets.com": { "github.githubassets.com": {
".*": { ".*": {
"sni": "baidu.com" "sni": "baidu.com"
} }
}, },
"avatars.githubusercontent.com": {
".*": {
"sni": "baidu.com"
}
},
"camo.githubusercontent.com": { "camo.githubusercontent.com": {
".*": { ".*": {
"sni": "baidu.com" "sni": "baidu.com"
@ -35,6 +65,21 @@
} }
}, },
"preSetIpList": { "preSetIpList": {
"github.com": [
"4.237.22.38",
"20.26.156.215",
"20.27.177.113",
"20.87.245.0",
"20.200.245.247",
"20.201.28.151",
"20.205.243.166",
"140.82.113.3",
"140.82.114.4",
"140.82.116.3",
"140.82.116.4",
"140.82.121.3",
"140.82.121.4"
],
"hub.docker.com": null // 1.8.2版本中该域名的预设IP有问题现在远程配置中删除 "hub.docker.com": null // 1.8.2版本中该域名的预设IP有问题现在远程配置中删除
}, },
"dns": { "dns": {
@ -46,25 +91,85 @@
"speedTest": { "speedTest": {
"interval": 300000 "interval": 300000
} }
},
"whiteList": {
"*.icloud.com": true,
"*.lenovo.net": true
} }
}, },
"proxy": { "proxy": {
"remoteDomesticDomainAllowListFileUrl": "https://raw.kkgithub.com/pluwen/china-domain-allowlist/main/allow-list.sorl",
"excludeIpList": { "excludeIpList": {
// Github文件上传所使用的域名被DS代理会导致文件上传经常失败从系统代理中排除掉 // Github文件上传所使用的域名被DS代理会导致文件上传经常失败从系统代理中排除掉
"objects-origin.githubusercontent.com": true, "objects-origin.githubusercontent.com": true,
// Github通过Actions上传的文件下载时所需的域名从系统代理中排除掉否则下载会失败 // Github通过Actions上传的文件下载时所需的域名从系统代理中排除掉否则下载会失败
"*.windows.net": true, "*.windows.net": true,
// Github下载release文件的高速镜像地址
"*.ghproxy.net": true,
"*.ghp.ci": true,
"*.kkgithub.com": true,
// Github建站域名
"*.github.io": true,
// bilibili相关
"*.bilicomic.com": true,
// 中国移动云盘登录API
"[2049:8c54:813:10c::140]": true,
"[2409:8a0c:a442:ff40:a51f:4b9c:8b41:25ea]": true,
"[2606:2800:147:120f:30c:1ba0:fc6:265a]": true,
// 移动云盘相关
"*.cmicapm.com": true,
// cloudflare排除以下域名cloudflare的人机校验会更快成功率更高。 // cloudflare排除以下域名cloudflare的人机校验会更快成功率更高。
"*.cloudflare.com": true, "*.cloudflare.com": true,
"*.cloudflare-cn.com": true, "*.cloudflare-cn.com": true,
// VS相关
"*.microsoftonline.com": true, // 此域名不排除的话,部分功能将出现异常
"*.msecnd.net": true,
"*.msedge.net": true,
// 卡巴斯基升级域名
"*kaspersky*.com": true, "*kaspersky*.com": true,
"*.upd.kaspersky.com": true, "*.upd.kaspersky.com": true,
"*.github.io": true, // sandbox沙盒域名
"*.sandboxie-plus.com": true,
"*.sandboxie-plus.com": true // 无忧论坛
"*.wuyou.net": true,
// python建图包域名浏览器
"*.pyecharts.org": true,
// 教育网站
"*.bcloudlink.com": true,
// 奇迹秀(资源)
"*.qijishow.com": true,
// Z-Library
"*.z-lib.fo": true,
// FinalshellLinux学习网
"*.finalshell.com": true,
// MineBBS我的世界中文论坛
"*.minebbs.com": true,
// 我的世界插件网
"*.spigotmc.org": true,
// bd测试
"*.virustotal.com": true,
// 未知
"*.youdemai.com": true,
"*.casualthink.com": true,
"44.239.165.12": true,
"3.164.110.117": true
} }
}, },
"plugin": { "plugin": {
@ -99,6 +204,11 @@
"*.segment.io": true, "*.segment.io": true,
"*.shields.io": true, "*.shields.io": true,
"*.jsdelivr.net": true, "*.jsdelivr.net": true,
"*.z-library.sk": true,
"*.zlibrary*.se": true,
// 维基百科
"*.wikipedia-on-ipfs.org": true,
// ChatGPT // ChatGPT
"*.oaiusercontent.com": true, // 在ChatGPT中生成文件并下载所需的域名 "*.oaiusercontent.com": true, // 在ChatGPT中生成文件并下载所需的域名
@ -107,6 +217,9 @@
"*.pixiv.org": true, "*.pixiv.org": true,
"*.fanbox.cc": true, "*.fanbox.cc": true,
"*.onesignal.com": true // pixiv站点会加载该域名下的js脚本 "*.onesignal.com": true // pixiv站点会加载该域名下的js脚本
},
"pac": {
"pacFileUpdateUrl": "https://raw.kkgithub.com/gfwlist/gfwlist/master/gfwlist.txt"
} }
} }
} }