diff --git a/aria2/aria2.conf b/aria2/aria2.conf new file mode 100644 index 0000000..85ba1c9 --- /dev/null +++ b/aria2/aria2.conf @@ -0,0 +1,87 @@ +# ref: p3terx/aria2.conf + +## file allocation + +# Docker Container 内下载路径(自行挂载) +dir=/downloads +disk-cache=100M + +file-allocation=none +no-file-allocation-limit=64M + +continue=true +always-resume=false +max-resume-failure-tries=0 + +remote-time=true + +## progress (session) + +input-file=/config/aria2.session +save-session=/config/aria2.session +save-session-interval=1 +auto-save-interval=20 + +keep-unfinished-download-result=true +# force-save=true + +## Download Options + +connect-timeout=10 +timeout=10 + +max-concurrent-downloads=5 +max-connection-per-server=16 +min-split-size=4M +split=32 +piece-length=1M +allow-piece-length-change=true +http-accept-gzip=true +content-disposition-default-utf8=true + +## Client Disguise +user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.47' +peer-id-prefix=-DE13F0- +user-agent=Deluge 1.3.15 +peer-agent=Deluge 1.3.15 + +## RPC相关设置 ## + +enable-rpc=true +rpc-allow-origin-all=true +rpc-listen-all=true +# hidden. +rpc-secret= + +## BT/PT + +listen-port=6888 +dht-listen-port=6888 +enable-dht=true +enable-dht6=true +dht-file-path=/config/dht.dat +dht-file-path6=/config/dht6.dat +dht-entry-point=dht.transmissionbt.com:6881 +dht-entry-point6=dht.transmissionbt.com:6881 +bt-enable-lpd=true +enable-peer-exchange=true + +rpc-save-upload-metadata=true +bt-save-metadata=true +bt-load-saved-metadata=true +bt-remove-unselected-file=true +follow-torrent=true + +bt-force-encryption=true + +seed-ratio=1.0 +seed-time=0 +bt-seed-unverified=true +bt-detach-seed-only=true + +bt-tracker-connect-timeout=10 +bt-tracker-timeout=10 +bt-prioritize-piece=head=32M,tail=32M + +# auto update by p3terx's tracker.sh +bt-tracker= diff --git a/readme.md b/readme.md index 1d18626..64a7778 100644 --- a/readme.md +++ b/readme.md @@ -6,8 +6,6 @@ - Jellyfin 直接拉 Docker - 记得重新配 frp( - aria2 直接拉 Docker - - 配置文件基本上参照各路博客去缝,然后按 p3terx 的示例重新排序一下。 - - 有无壬浇浇`bash <(curl -fsSL git.io/tracker.sh) RPC '127.0.0.1:16800'`枕么写 cron jobs - ~~OBS 直播插件(`frg2089/BiliLive.Observer`)后端,写个用户级 systemd service。~~ - 剩下的真想不起来了=。= - Frameworks 应用中层:框架