88 lines
1.7 KiB
Plaintext
88 lines
1.7 KiB
Plaintext
# 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=
|