Spaces:
Paused
Paused
| # 启用 RPC 服务 | |
| enable-rpc=true | |
| # RPC监听端口 | |
| rpc-listen-port=6800 | |
| # 允许所有来源的 RPC 请求 | |
| rpc-allow-origin-all=true | |
| # RPC 授权令牌,可自行设定(提高安全性) | |
| rpc-secret=eatyour | |
| # 最大并发下载数 | |
| max-concurrent-downloads=10 | |
| # 每个服务器的最大连接数 | |
| max-connection-per-server=15 | |
| # 每个下载任务的分片数 | |
| split=64 | |
| # 每个分片的最小大小 | |
| min-split-size=1M | |
| # 最大重试次数 | |
| max-tries=5 | |
| # 重试等待时间(秒) | |
| retry-wait=3 | |
| # 连接超时时间(秒) | |
| connect-timeout=10 | |
| # 超时时间(秒) | |
| timeout=10 | |
| # 继续下载 | |
| continue=true | |
| # 以守护进程模式运行 | |
| daemon=true | |
| # 文件分配策略 | |
| file-allocation=none | |
| # 磁盘缓存大小 | |
| disk-cache=512M | |
| # 下载限速(0表示不限制) | |
| max-overall-download-limit=0 | |
| max-download-limit=0 | |
| # 上传限速(0表示不限制) | |
| max-overall-upload-limit=0 | |
| max-upload-limit=0 | |
| # 流片选择器 | |
| stream-piece-selector=geom | |
| # 优化并发下载 | |
| optimize-concurrent-downloads=true | |
| # 启用 gzip 压缩 | |
| http-accept-gzip=true | |
| # 其他可选优化 | |
| # 设置日志级别(可选) | |
| log-level=notice | |
| # 启用日志记录(可选) | |
| log-file=/app/aria2.log | |
| # 启用断点续传(可选) | |
| enable-http-pipelining=true | |