2024-12-16 21:11:32 +08:00
upstream :
- server : https://mirrors.aliyun.com
- server : http://mirrors.tencent.com
2024-12-18 10:58:10 +08:00
- server : http://mirrors.ustc.edu.cn
2024-12-16 21:11:32 +08:00
- server : https://packages.microsoft.com/repos/code
match :
match : /microsoft-code(.*)
replace : '$1'
- server : http://releases.ubuntu.com/
match :
match : /ubuntu-releases/(.*)
replace : /$1
2024-12-18 10:58:10 +08:00
- 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
2024-12-16 21:11:32 +08:00
misc :
2024-12-18 10:58:10 +08:00
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
2024-12-16 21:11:32 +08:00
storage :
type : local # ignored
local :
2024-12-18 10:58:10 +08:00
path : /data # defaults to ./data