今天在全球主机交流论坛上看到有mjj在问这个问题,猜想将来有可能会遇到,所以摘抄下来做个记录。
源站直接aria2 可以开32个线程。下载速度还行。。
反代了一下之后 aria2就只能单线程了。速度直接降到原来的 1/15
补充配置

location /

{

proxy_pass https://domain.com;
proxy_set_header Host domain.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_buffering off;
add_header X-Cache $upstream_cache_status
add_header Cache-Control no-cache;
expires 12h;

}

解决方法:

加上
proxy_set_header Range $http_range;

Last modification:December 17th, 2021 at 02:13 pm
如果觉得我的文章对你有用,请随意赞赏