-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev-sidecar-remote_config.json5
84 lines (84 loc) · 2.81 KB
/
dev-sidecar-remote_config.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"server": {
"intercepts": {
"github.com": {
"/.*/.*/releases/download/": {
"redirect": "ghproxy.com/https://github.com/",
"desc": "release文件加速下载跳转地址"
},
"/.*/.*/archive/": {
"redirect": "download.fastgit.org"
},
"/.*/.*/blame/": {
"redirect": "hub.fastgit.org"
},
"^/[^/]+/[^/]+(/releases(/.*)?)?$": {
"script": [
"github"
],
"desc": "clone加速复制链接脚本"
},
"/.*": {
"proxy": "github.com",
"desc": "目前禁掉sni就可以直接访问,如果后续github.com的ip被封锁,只能再走proxy模式",
"sni": "baidu.com"
},
"/.*/.*/raw/": {
"replace": "(.+)\\/raw\\/(.+)",
"proxy": "raw.fastgit.org$1/$2",
"sni": "baidu.com"
}
},
"github.githubassets.com": {
".*": {
"proxy": "github.githubassets.com",
"sni": "baidu.com"
}
},
"www.gstatic.com": {
"/recaptcha/.*": {
"proxy": "www.recaptcha.net"
}
}
},
"dns": {
"mapping": {
"*jetbrains.com": "quad9",
"*azureedge.net": "quad9",
"*stackoverflow.com": "quad9"
},
"speedTest": {
"interval": 300000
}
}
},
"plugin": {
"overwall": {
"targets": {
"*azureedge.net": true,
"github.com": true,
"*wikimedia.org": true,
"v2ex.com": true,
"*cloudfront.net": true,
"*bing.com": true,
"*discourse-cdn.com": true,
"*gravatar.com": true,
"*docker.com": true,
"*vueuse.org": true,
"*elastic.co": true,
"*optimizely.com": true,
"*stackpathcdn.com": true,
"*fastly.net": true,
"*cloudflare.com": true,
"*233v2.com": true,
"*v2fly.org": true,
"*telegram.org": true,
"*amazon.com": true,
"*googleapis.com": true,
"*cloudflareinsights.com": true,
"*.intlify.dev": true,
"*segment.io": true
}
}
}
}