Compare commits

..
Author SHA1 Message Date
junv 2761bce49a Close #27, Somehow a hack way to allow user use /ui access /ui/ 2019-05-17 23:33:17 +10:00
junv a323036beb Correct badges 2019-05-17 23:22:12 +10:00
junv a5a0437b2d fix the build 2019-05-17 23:16:12 +10:00
junv bf5d416c32 Try to tricky way to sharing docker image between stages 2019-05-17 23:10:52 +10:00
junv 53b72f121a Replace circle ci with travis ci 2019-05-17 22:54:31 +10:00
junv 56ca73734f Fix the pipeline... 2019-05-17 22:29:50 +10:00
junv 32d7ad7dbe Try to export tag 2019-05-17 22:27:05 +10:00
junv 83cd4cd048 Passing image tag id by using environment variables 2019-05-17 22:22:13 +10:00
junv 025ab4d568 Merge branch 'master' of github.com:wahyd4/aria2-ariang-docker 2019-05-17 22:14:34 +10:00
junv bf54cf929b enable docker layers caching, so the image can be pass on 2019-05-17 22:13:46 +10:00
junv 478b4a0bd8 enable docker layers caching, so the image can be pass on 2019-05-17 22:11:14 +10:00
junvandGitHub baeae63b49 Merge pull request #33 from wahyd4/junwei/remove-file-browser-from-caddy
Junwei/remove file browser from caddy
2019-05-17 22:02:11 +10:00
junv 85cd7bb39b update caddy config and fix shell command issue 2019-05-17 22:00:02 +10:00
junv 2e15256f68 get rid of file browser plugin mode 2019-05-17 16:39:04 +10:00
junv 44b80d8d4a Remove duplicated vesion key 2019-05-05 19:29:56 +10:00
junv 68980742f2 Pipeline configuration fix 2019-05-05 19:28:32 +10:00
junv 7327766b25 fix format issue 2019-05-05 19:22:21 +10:00
junv f0f51a6d3d Update pipeline script, and skip push docker image on non master branches 2019-05-05 19:16:12 +10:00
junv feaee60510 update readme 2019-04-09 11:15:57 +10:00
junv 7ac1a17a35 Update docs for solving no speed issue. 2019-03-16 11:02:43 +08:00
junv 18afebb3d0 fix build script 2019-03-16 10:32:53 +08:00
junvandGitHub 74f9facb1f Merge pull request #25 from wahyd4/file-browser-db
File browser db
2019-03-16 10:27:00 +08:00
junv 46ac16cd44 only push docker image on master branch 2019-03-16 10:22:11 +08:00
junv a8dc6c2dd7 Add ability to volume file browser settings db 2019-03-16 10:16:13 +08:00
junv 187d6d0e93 Update naming to file browser 2019-03-16 09:44:43 +08:00
junvandGitHub 7f54b16b33 Merge pull request #24 from wahyd4/restructure
Restructure docker image
2019-03-15 11:21:38 +08:00
junv 631690a78a Restructure docker image 2019-03-15 11:20:26 +08:00
junvandGitHub f73acf5bc5 Merge pull request #23 from wahyd4/changing-urls
Changing urls
2019-03-15 11:12:00 +08:00
junv cc09684c70 Update the ariang url to /ui/ 2019-03-15 11:10:51 +08:00
junv 2a2b520a6f Change the file manager url path to root and ariang to /aria/ 2019-03-15 11:09:32 +08:00
junv b199a28365 Change the log level back to default to show more information 2019-03-15 10:52:29 +08:00
junvandGitHub 0a8f98eef5 Merge pull request #22 from wahyd4/ipv6
#21 Disable ipv6 by default to solve the dns issue
2019-03-15 10:50:22 +08:00
junv 6c8318d9c1 #21 Disable ipv6 by default to solve the dns issue 2019-03-15 10:48:42 +08:00
junv 5fd5f4ce17 Update best trackers 2019-03-03 08:27:38 +11:00
junvandGitHub 50688a3f36 Update README.md 2019-02-21 07:46:45 +11:00
junvandGitHub f211c6d1db Update README.md 2019-02-19 17:39:37 +11:00
junv ff481ea1bc Update naming of image tag 2019-02-19 17:17:09 +11:00
junv 01fd23d42f try 2019-02-19 17:13:48 +11:00
junv 3551ae0cc1 update setting 2019-02-19 17:12:28 +11:00
junv 03943996dc update config 2019-02-19 17:08:53 +11:00
junv a9236ef0a9 Update the name of file manager to file browser 2019-02-19 10:57:51 +11:00
junv 6fa402a13c Update caddy script to fix the build 2019-02-19 10:26:20 +11:00
junvandGitHub c4e530e8f6 Update trackers 2019-02-01 11:56:48 +11:00
junv adfe41d96f Update readme 2019-01-03 17:15:44 +11:00
junvandGitHub 7a214e1251 Merge pull request #14 from wahyd4/arm
Add arm32/64 support
2019-01-03 16:57:20 +11:00
junv ba2978d70a #13 Add arm32 cpu support 2019-01-03 16:54:31 +11:00
junv fedbae4c87 #13 Add arm64 cpu support 2019-01-03 16:51:04 +11:00
junv d7553a9c2f Correct url 2018-12-15 17:51:43 +11:00
junv 2a6760adfb Merge branch 'master' of github.com:wahyd4/aria2-ariang-docker 2018-12-15 17:31:19 +11:00
junv df32852e79 bump ariang to 1.0.0 2018-12-15 17:31:02 +11:00
junvandGitHub 696c0c2058 #11 Update document about how to enable HTTPS 2018-12-10 09:35:35 +11:00
junv 1c08fa7404 Fix the file manager authentication issue 2018-08-03 18:57:42 +10:00
junv 7fa8628072 Wording change 2018-07-11 23:01:35 +10:00
junv 62138a0c2d Add instruction to allow user to build their own docker image 2018-07-11 22:54:33 +10:00
15 changed files with 266 additions and 76 deletions
+30
View File
@@ -0,0 +1,30 @@
services:
- docker
env:
global:
- NAME=aria2-ui
- CACHE_FOLDER=$HOME/docker-images
- CACHE_FILE=${CACHE_FOLDER}/${NAME}-${TRAVIS_COMMIT}.tgz
jobs:
include:
- stage: build docker image
script:
- docker build -t wahyd4/aria2-ui:1.0.${TRAVIS_BUILD_NUMBER} .
- mkdir -p ${CACHE_FOLDER}
- docker save wahyd4/aria2-ui:1.0.${TRAVIS_BUILD_NUMBER} | gzip -c > ${CACHE_FILE}
- stage: push docker image
if: branch = master
script: |
if [[ -f ${CACHE_FILE} ]]; then docker load -i ${CACHE_FILE}; fi
if [ "${TRAVIS_BRANCH}" == "master" ]; then
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker tag wahyd4/aria2-ui:1.0.$TRAVIS_BUILD_NUMBER wahyd4/aria2-ui:latest
docker push wahyd4/aria2-ui:1.0.$TRAVIS_BUILD_NUMBER
docker push wahyd4/aria2-ui:latest
fi
cache:
directories:
- ${CACHE_FOLDER}
+36
View File
@@ -0,0 +1,36 @@
{$DOMAIN} {
proxy / localhost:8080 {
transparent
}
log stdout
errors stdout
gzip
}
{$DOMAIN}/ui {
root /usr/local/www/aria2
timeouts none
gzip
log stdout
errors stdout
}
{$DOMAIN}/css {
root /usr/local/www/aria2/css
gzip
}
{$DOMAIN}/js {
root /usr/local/www/aria2/js
gzip
}
{$DOMAIN}/fonts {
root /usr/local/www/aria2/fonts
gzip
}
{$DOMAIN}/langs {
root /usr/local/www/aria2/langs
gzip
}
+38
View File
@@ -0,0 +1,38 @@
FROM alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
WORKDIR /root
ENV RPC_SECRET=Hello
ENV ENABLE_AUTH=false
ENV DOMAIN=0.0.0.0:80
ENV ARIA2_USER=user
ENV ARIA2_PWD=password
RUN apk update \
&& apk add wget bash curl openrc gnupg screen aria2 tar --no-cache
RUN curl https://getcaddy.com | bash -s personal
RUN curl -fsSL https://filebrowser.xyz/get.sh | bash
RUN mkdir -p /usr/local/www && mkdir -p /usr/local/www/aria2
ADD conf /root/conf
COPY aria2c.sh /root
COPY Caddyfile SecureCaddyfile /usr/local/caddy/
# AriaNg
RUN mkdir /usr/local/www/aria2/Download && cd /usr/local/www/aria2 \
&& chmod +rw /root/conf/aria2.session \
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/1.0.0/AriaNg-1.0.0.zip && unzip AriaNg-1.0.0.zip && rm -rf AriaNg-1.0.0.zip \
&& chmod -R 755 /usr/local/www/aria2 \
&& chmod +x /root/aria2c.sh
#The folder to store ssl keys
VOLUME /root/conf/key
# User downloaded files
VOLUME /data
EXPOSE 6800 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]
+30 -12
View File
@@ -3,47 +3,60 @@ Aria2 + AriaNg
English | [简体中文](https://github.com/wahyd4/aria2-ariang-docker/blob/master/README.md)
[![](https://images.microbadger.com/badges/image/wahyd4/aria2-ui.svg)](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com")
[![Docker Pulls](https://img.shields.io/docker/pulls/wahyd4/aria2-ui.svg)](https://hub.docker.com/r/wahyd4/aria2-ui/)
[![Build Status](https://travis-ci.org/wahyd4/aria2-ariang-docker.svg?branch=master)](https://travis-ci.org/wahyd4/aria2-ariang-docker)
<!-- TOC -->
- [Features](#features)
- [How to run](#how-to-run)
- [Simple Usage](#simple-usage)
- [Full Usage](#full-usage)
- [Fully Usage](#fully-usage)
- [Supported Environment Variables](#supported-environment-variables)
- [Supported Volumes](#supported-volumes)
- [Docker Hub](#docker-hub)
- [Usage it in Docker compose](#usage-it-in-docker-compose)
- [FAQ](#faq)
<!-- /TOC -->
Aria2
![Screenshot](https://github.com/wahyd4/aria2-ariang-x-docker-compose/raw/master/images/ariang.png)
File Manager
![Filemanager](https://github.com/wahyd4/aria2-ariang-docker/raw/master/filemanager.png)
File Browser
![File Browser](https://github.com/wahyd4/aria2-ariang-docker/raw/master/filemanager.png)
## Features
* Aria2 (SSL support)
* AriaNg
* Auto HTTPS Let's Encrypt
* Basic Auth
* File indexing and video playing ([File Manager](https://henriquedias.com/filemanager/))
* File indexing and video playing ([File Browser](https://filebrowser.xyz/))
* Add support for ARM CPUs, please choose correct [docker image TAG](https://cloud.docker.com/repository/docker/wahyd4/aria2-ui/tags)
## How to run
### Simple Usage
```shell
docker run -d --name ariang -p 80:80 -p 6800:6800 wahyd4/aria2-ui
docker run -d --name aria2-ui -p 80:80 -p 6800:6800 wahyd4/aria2-ui
```
* Aria2: <http://yourip>
* FileManger: <http://yourip/files>
* Aria2: <http://yourip/ui/> **The tailling `/` is necessary**
* FileManger: <http://yourip>
* Please use admin/admin as username and password to login
### Full Usage
```shell
docker run -d --name ariang -p 80:80 -p 6800:6800 -p 443:443 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=example.com -e ARIA2_USER=user -e ARIA2_PWD=pwd -v /yourdata:/data -v /yoursslkeys/:/root/conf/key -v /<to your aria2.conf>:/root/conf/aria2.conf wahyd4/aria2-ui
### Fully Usage
```bash
docker run -d --name ariang \
-p 80:80 -p 6800:6800 -p 443:443 \
-e ENABLE_AUTH=true \
-e RPC_SECRET=Hello \
-e DOMAIN=example.com \
-e ARIA2_USER=user \
-e ARIA2_PWD=pwd \
-v /yourdata:/data \
-v /root/a.db:/root/filebrowser.db \
-v /yoursslkeys/:/root/conf/key \
-v <to your aria2.conf>:/root/conf/aria2.conf \
wahyd4/aria2-ui
```
### Supported Environment Variables
@@ -59,6 +72,7 @@ File Manager
* `/data` The folder of all Aria2 downloaded files.
* `/root/conf/key` The folder which stored Aria2 SSL `certificate` and `key` file. `Notice`: The certificate file should be named `aria2.crt` and the key file should be named `aria2.key`
* `/root/conf/aria2.conf` The Aria2 configuration file.
* `/root/filebrowser.db` File Browser settings db, make sure you make a empty file first on your host.
## Docker Hub
@@ -68,3 +82,7 @@ File Manager
## Usage it in Docker compose
Please refer <https://github.com/wahyd4/aria2-ariang-x-docker-compose>
## FAQ
1. If there is no speed at all when you downloading a BitTorrent file, please try to use a popular torrent file first to help the application to cache `DHT` file. Then the speed should get fast and fast, as well as downloading other links.
+41 -13
View File
@@ -4,48 +4,66 @@ Aria2 + AriaNg
[![](https://images.microbadger.com/badges/image/wahyd4/aria2-ui.svg)](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com")
[![Docker Pulls](https://img.shields.io/docker/pulls/wahyd4/aria2-ui.svg)](https://hub.docker.com/r/wahyd4/aria2-ui/)
[![Build Status](https://travis-ci.org/wahyd4/aria2-ariang-docker.svg?branch=master)](https://travis-ci.org/wahyd4/aria2-ariang-docker)
本镜像包含 Aria2、AriaNg 和File Manager,主要方便那些用户期望只运行一个镜像就能实现图形化下载文件和在线播放文件。(类似离线下载的功能),只使用一个 Docker 镜像也方便用户在群晖NAS 中运行本程序。
<!-- TOC -->
- [功能特性](#功能特性)
- [推荐使用的docker image tag](#推荐使用的docker-image-tag)
- [安装于运行](#安装于运行)
- [快速运行](#快速运行)
- [开启所有功能](#开启所有功能)
- [支持的 Docker 环境变量](#支持的-docker-环境变量)
- [支持的 Docker volume 属性](#支持的-docker-volume-属性)
- [自行构建镜像](#自行构建镜像)
- [Docker Hub](#docker-hub)
- [使用 Docker compose 来运行](#使用-docker-compose-来运行)
- [常见问题](#常见问题)
<!-- /TOC -->
Aria2
![Screenshot](https://github.com/wahyd4/aria2-ariang-x-docker-compose/raw/master/images/ariang.png)
File Manager
![Filemanager](https://github.com/wahyd4/aria2-ariang-docker/raw/master/filemanager.png)
File Browser
![File Browser](https://github.com/wahyd4/aria2-ariang-docker/raw/master/filemanager.png)
## 功能特性
* Aria2 (SSL 支持)
* AriaNg 通过 UI 来操作,下载文件
* 自动 HTTPS Let's Encrypt
* Basic Auth 用户认证
* 文件管理和视频播放 ([File Manager](https://henriquedias.com/filemanager/),注意默认情况下,只能访问和管理 `/data` 目录下的文件)
* 文件管理和视频播放 ([File Browser](https://filebrowser.xyz/),注意默认情况下,只能访问和管理 `/data` 目录下的文件)
* 支持ARM CPU 架构,因此可以在树莓派中运行,请下载对应的[ARM TAG](https://cloud.docker.com/repository/docker/wahyd4/aria2-ui/tags) 版本, `arm32``arm64`
## 推荐使用的docker image tag
* latest
* arm32
* arm64
## 安装于运行
### 快速运行
```shell
docker run -d --name ariang -p 80:80 -p 6800:6800 wahyd4/aria2-ui
docker run -d --name aria2-ui -p 80:80 -p 6800:6800 wahyd4/aria2-ui
```
* Aria2: <http://yourip>
* FileManger: <http://yourip/files>
* Aria2: <http://yourip/ui/> **最后的斜线必须带上!**
* FileManger: <http://yourip>
* 请使用 admin/admin 进行登录
### 开启所有功能
```shell
docker run -d --name ariang -p 80:80 -p 6800:6800 -p 443:443 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=example.com -e ARIA2_USER=user -e ARIA2_PWD=pwd -v /yourdata:/data -v /yoursslkeys/:/root/conf/key -v -v <to your aria2.conf>:/root/conf/aria2.conf wahyd4/aria2-ui
```bash
docker run -d --name ariang \
-p 80:80 -p 6800:6800 -p 443:443 \
-e ENABLE_AUTH=true \
-e RPC_SECRET=Hello \
-e DOMAIN=example.com \
-e ARIA2_USER=user \
-e ARIA2_PWD=pwd \
-v /yourdata:/data \
-v /root/a.db:/root/filebrowser.db \
-v /yoursslkeys/:/root/conf/key \
-v <to your aria2.conf>:/root/conf/aria2.conf \
wahyd4/aria2-ui
```
### 支持的 Docker 环境变量
@@ -54,14 +72,20 @@ File Manager
* ARIA2_USER Basic Auth 用户认证用户名
* ARIA2_PWD Basic Auth 密码
* RPC_SECRET Aria2 RPC 加密 token
* DOMAIN 绑定的域名
* DOMAIN 绑定的域名, 当绑定的域名为`HTTPS`时,即为启用`HTTPS` 例: `DOMAIN=https://toozhao.com`
### 支持的 Docker volume 属性
* `/data` 用来放置所有下载的文件的目录
* `/root/conf/key` 用户来放置 Aria2 SSL `certificate`证书和 `key` 文件. `注意`: 证书的名字必须是 `aria2.crt` Key 文件的名字必须是 `aria2.key`
* `/root/conf/aria2.conf` 为 aria2 的配置文件,你可以映射自己的配置文件。
* `/root/filebrowser.db` File Browser 的内嵌数据库,升级Docker 镜像也不用担心之前的设置丢失。请确保在宿主机先创建一个空文件再使用。
## 自行构建镜像
```
docker build -t aria2-ui .
```
## Docker Hub
@@ -70,3 +94,7 @@ File Manager
## 使用 Docker compose 来运行
请参考 <https://github.com/wahyd4/aria2-ariang-x-docker-compose>
## 常见问题
1. 下载的BT或者磁力完全没有速度怎么办? 建议先下载一个热门的BT种子文件,而不是磁力链接。这样可以帮助缓存DHT文件,渐渐地,速度就会起来了。比如试试下载树莓派操作系统的BT种子?[前往下载](https://www.raspberrypi.org/downloads/raspbian/)
+39
View File
@@ -0,0 +1,39 @@
{$DOMAIN} {
proxy / localhost:8080 {
transparent
}
gzip
log stdout
errors stdout
}
{$DOMAIN}/ui {
root /usr/local/www/aria2
timeouts none
gzip
log stdout
errors stdout
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
}
{$DOMAIN}/css {
root /usr/local/www/aria2/css
gzip
}
{$DOMAIN}/js {
root /usr/local/www/aria2/js
gzip
}
{$DOMAIN}/fonts {
root /usr/local/www/aria2/fonts
gzip
}
{$DOMAIN}/langs {
root /usr/local/www/aria2/langs
gzip
}
+5 -4
View File
@@ -17,13 +17,14 @@ echo "Start aria2 with secure config"
--rpc-certificate=/root/conf/key/aria2.crt \
--rpc-private-key=/root/conf/key/aria2.key \
--rpc-secret="$RPC_SECRET" --rpc-secure \
&& caddy -quic --conf ${CADDY_FILE}
&& (nohup sh -c "/usr/local/bin/filebrowser -d /root/filebrowser.db -l /var/log/file-browser/out.log -r /data" &)\
&& /usr/local/bin/caddy -quic --conf ${CADDY_FILE}
else
echo "Start aria2 with standard mode"
/usr/bin/aria2c --conf-path="/root/conf/aria2.conf" -D \
--enable-rpc --rpc-listen-all \
&& caddy -quic --conf ${CADDY_FILE}
&& (nohup sh -c "/usr/local/bin/filebrowser -d /root/filebrowser.db -l /var/log/file-browser/out.log -r /data" &)\
&& /usr/local/bin/caddy -quic --conf ${CADDY_FILE}
fi
+3 -8
View File
@@ -1,4 +1,4 @@
FROM alpine:edge
FROM arm32v6/alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
@@ -10,12 +10,9 @@ ENV DOMAIN=0.0.0.0:80
ENV ARIA2_USER=user
ENV ARIA2_PWD=password
# For build image in local quickly in China
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk update && apk add wget bash curl openrc gnupg screen aria2 tar --no-cache
RUN curl https://getcaddy.com | bash -s personal http.filemanager
RUN curl https://getcaddy.com | bash -s personal http.filebrowser
ADD conf /root/conf
COPY aria2c.sh /root
@@ -27,7 +24,7 @@ RUN mkdir -p /usr/local/www && mkdir -p /usr/local/www/aria2
#AriaNg
RUN mkdir /usr/local/www/aria2/Download && cd /usr/local/www/aria2 \
&& chmod +rw /root/conf/aria2.session \
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/0.4.0/aria-ng-0.4.0.zip && unzip aria-ng-0.4.0.zip && rm -rf aria-ng-0.4.0.zip \
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/1.0.0/AriaNg-1.0.0.zip && unzip AriaNg-1.0.0.zip && rm -rf AriaNg-1.0.0.zip \
&& chmod -R 755 /usr/local/www/aria2 \
&& chmod +x /root/aria2c.sh
@@ -39,5 +36,3 @@ VOLUME /data
EXPOSE 6800 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]
+38
View File
@@ -0,0 +1,38 @@
FROM arm64v8/alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
WORKDIR /root
ENV RPC_SECRET=Hello
ENV ENABLE_AUTH=false
ENV DOMAIN=0.0.0.0:80
ENV ARIA2_USER=user
ENV ARIA2_PWD=password
RUN apk update && apk add wget bash curl openrc gnupg screen aria2 tar --no-cache
RUN curl https://getcaddy.com | bash -s personal http.filebrowser
ADD conf /root/conf
COPY aria2c.sh /root
COPY Caddyfile SecureCaddyfile /usr/local/caddy/
RUN mkdir -p /usr/local/www && mkdir -p /usr/local/www/aria2
#AriaNg
RUN mkdir /usr/local/www/aria2/Download && cd /usr/local/www/aria2 \
&& chmod +rw /root/conf/aria2.session \
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/1.0.0/AriaNg-1.0.0.zip && unzip AriaNg-1.0.0.zip && rm -rf AriaNg-1.0.0.zip \
&& chmod -R 755 /usr/local/www/aria2 \
&& chmod +x /root/aria2c.sh
#The folder to store ssl keys
VOLUME /root/conf/key
# User downloaded files
VOLUME /data
EXPOSE 6800 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]
-15
View File
@@ -1,15 +0,0 @@
{$DOMAIN} {
root /usr/local/www/aria2
timeouts none
gzip
log stdout
errors stdout
}
{$DOMAIN}/files {
filemanager / /data
}
-19
View File
@@ -1,19 +0,0 @@
{$DOMAIN} {
root /usr/local/www/aria2
timeouts none
gzip
log stdout
errors stdout
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
}
{$DOMAIN}/files {
gzip
log stdout
errors stdout
filemanager / /data
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
}
+6 -5
View File
@@ -46,10 +46,13 @@ dir=/data
#所需时间 none < falloc ? trunc « prealloc, falloc和trunc需要文件系统和内核支持
file-allocation=prealloc
# disable IPV6 by default
disable-ipv6=true
# General Options
log=/var/log/aria2.log
#You can set either debug, info, notice, warn or error.
log-level=error
log-level=notice
## 进度保存相关 ##
@@ -60,7 +63,5 @@ save-session=/root/conf/aria2.session
# 定时保存会话, 0为退出时才保存, 需1.16.1以上版本, 默认:0
save-session-interval=10
# BT trackers from https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt
bt-tracker=udp://tracker.skyts.net:6969/announce,udp://tracker.safe.moe:6969/announce,udp://tracker.piratepublic.com:1337/announce,udp://tracker.pirateparty.gr:6969/announce,udp://tracker.coppersurfer.tk:6969/announce,udp://tracker.leechers-paradise.org:6969/announce,udp://allesanddro.de:1337/announce,udp://9.rarbg.com:2710/announce,http://p4p.arenabg.com:1337/announce,udp://p4p.arenabg.com:1337/announce,udp://tracker.opentrackr.org:1337/announce,udp://tracker.internetwarriors.net:1337/announce,http://tracker.opentrackr.org:1337/announce,udp://public.popcorn-tracker.org:6969/announce,udp://tracker2.wasabii.com.tw:6969/announce,udp://tracker2.christianbro.pw:6969/announce,udp://tracker1.xku.tv:6969/announce,udp://tracker1.wasabii.com.tw:6969/announce,udp://tracker.zer0day.to:1337/announce,udp://peerfect.org:6969/announce
# BT trackers from https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best_ip.txt
bt-tracker=udp://62.138.0.158:6969/announce,udp://188.241.58.209:6969/announce,udp://188.241.58.209:6969/announce,udp://185.225.17.100:1337/announce,udp://62.210.79.110:1337/announce,udp://151.80.120.114:2710/announce,udp://151.80.120.112:2710/announce,udp://208.83.20.20:6969/announce,udp://176.113.68.67:8080/announce,udp://184.105.151.164:6969/announce,udp://176.113.68.66:6961/announce,http://176.113.71.19:6961/announce,udp://51.15.40.114:80/announce,udp://89.234.156.205:451/announce,udp://5.206.58.23:6969/announce,udp://176.31.106.35:80/announce,udp://188.246.227.212:80/announce,udp://5.2.79.219:1337/announce,udp://5.2.79.22:6969/announce,http://95.107.48.115:80/announce