所有 "*.github.com" 域名,全部使用sni
parent
d94dea1578
commit
28f9d85c34
|
@ -118,6 +118,11 @@ module.exports = {
|
|||
desc: '仓库内脚本,重定向改为代理,并设置响应头Content-Type。作用:方便script拦截器直接使用,避免引起跨域问题和脚本内容限制问题。'
|
||||
}
|
||||
},
|
||||
'*.github.com': {
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
}
|
||||
},
|
||||
'github-releases.githubusercontent.com': {
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
|
@ -137,11 +142,6 @@ module.exports = {
|
|||
sni: 'baidu.com'
|
||||
}
|
||||
},
|
||||
'collector.github.com': {
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
}
|
||||
},
|
||||
'customer-stories-feed.github.com': {
|
||||
'.*': { proxy: 'customer-stories-feed.fastgit.org' }
|
||||
},
|
||||
|
@ -181,17 +181,9 @@ module.exports = {
|
|||
'^/_private/browser/stats$': {
|
||||
success: true,
|
||||
desc: 'github的访问速度分析上传,没有必要,直接返回成功'
|
||||
},
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
}
|
||||
},
|
||||
'hub.docker.com': {
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
}
|
||||
},
|
||||
'api.dso.docker.com': {
|
||||
'*.docker.com': {
|
||||
'.*': {
|
||||
sni: 'baidu.com'
|
||||
}
|
||||
|
@ -203,11 +195,6 @@ module.exports = {
|
|||
desc: '登录页面的ico,采用hub.docker.com的'
|
||||
}
|
||||
},
|
||||
// '*.v2ex.com': {
|
||||
// '.*': {
|
||||
// sni: 'baidu.com'
|
||||
// }
|
||||
// },
|
||||
// google cdn
|
||||
'www.google.com': {
|
||||
'/recaptcha/.*': { proxy: 'www.recaptcha.net' }
|
||||
|
|
Loading…
Reference in New Issue