diff --git a/config.yaml b/config.yaml index 686332a..96a53c2 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,16 @@ upstream: - 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 + 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 + 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 match: match: /microsoft-code(.*) @@ -22,6 +31,10 @@ upstream: match: match: /tailscale/(.*) replace: /$1 +- server: http://update.cs2c.com.cn:8080 + match: + match: /kylinlinux/(.*) + replace: /$1 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