update config
This commit is contained in:
parent
055d113c80
commit
f8aa7d5aab
13
config.yaml
13
config.yaml
@ -1,7 +1,16 @@
|
|||||||
upstream:
|
upstream:
|
||||||
- server: https://mirrors.aliyun.com
|
- server: https://mirrors.aliyun.com
|
||||||
|
match:
|
||||||
|
match: /(debian|ubuntu|ubuntu-releases|alpine|archlinux|kali|manjaro|msys2|almalinux|rocky|centos|centos-stream|centos-vault|fedora|epel)(.*)
|
||||||
|
replace: '/$1$2'
|
||||||
- server: http://mirrors.tencent.com
|
- server: http://mirrors.tencent.com
|
||||||
|
match:
|
||||||
|
match: /(debian|ubuntu|ubuntu-releases|alpine|archlinux|kali|manjaro|msys2|almalinux|rocky|centos|centos-stream|centos-vault|fedora|epel)(.*)
|
||||||
|
replace: '/$1$2'
|
||||||
- server: http://mirrors.ustc.edu.cn
|
- server: http://mirrors.ustc.edu.cn
|
||||||
|
match:
|
||||||
|
match: /(debian|ubuntu|ubuntu-releases|alpine|archlinux|kali|manjaro|msys2|almalinux|rocky|centos|centos-stream|centos-vault|fedora|epel|elrepo|remi|rpmfusion|tailscale)(.*)
|
||||||
|
replace: '/$1$2'
|
||||||
- server: https://packages.microsoft.com/repos/code
|
- server: https://packages.microsoft.com/repos/code
|
||||||
match:
|
match:
|
||||||
match: /microsoft-code(.*)
|
match: /microsoft-code(.*)
|
||||||
@ -22,6 +31,10 @@ upstream:
|
|||||||
match:
|
match:
|
||||||
match: /tailscale/(.*)
|
match: /tailscale/(.*)
|
||||||
replace: /$1
|
replace: /$1
|
||||||
|
- server: http://update.cs2c.com.cn:8080
|
||||||
|
match:
|
||||||
|
match: /kylinlinux/(.*)
|
||||||
|
replace: /$1
|
||||||
|
|
||||||
misc:
|
misc:
|
||||||
first-chunk-bytes: 31457280 # 1024*1024*30, all upstreams with 200 response will wait for the first chunks to select a upstream by bandwidth, instead of by latency. defaults to 50M
|
first-chunk-bytes: 31457280 # 1024*1024*30, all upstreams with 200 response will wait for the first chunks to select a upstream by bandwidth, instead of by latency. defaults to 50M
|
||||||
|
Loading…
x
Reference in New Issue
Block a user