diff --git a/config.yaml b/config.yaml index 366716a..686332a 100644 --- a/config.yaml +++ b/config.yaml @@ -1,10 +1,7 @@ upstream: - server: https://mirrors.aliyun.com - match: - match: /(alpine|ubuntu)(/.*) - replace: /$1$2 - server: http://mirrors.tencent.com -# - server: https://mirrors.ustc.edu.cn +- server: http://mirrors.ustc.edu.cn - server: https://packages.microsoft.com/repos/code match: match: /microsoft-code(.*) @@ -13,11 +10,24 @@ upstream: match: match: /ubuntu-releases/(.*) replace: /$1 +- server: https://apt.releases.hashicorp.com + match: + match: /hashicorp-deb/(.*) + replace: /$1 +- server: https://dl.google.com/linux/chrome + match: + match: /google-chrome/(.*) + replace: /$1 +- server: https://pkgs.tailscale.com/stable + match: + match: /tailscale/(.*) + replace: /$1 misc: - rate-first-byte: 31457280 # 1024*1024*30 + 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 + # chunk-bytes: 1048576 # 1024*1024 storage: type: local # ignored local: - path: ./data + path: /data # defaults to ./data