mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-09-18 09:57:40 -04:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
@@ -525,7 +525,7 @@
|
||||
browserNotification: !1,
|
||||
rpcAlias: 'aria2',
|
||||
rpcHost: '127.0.0.1',
|
||||
rpcPort: '8080',
|
||||
rpcPort: 'ARIA_RPC_PORT',
|
||||
rpcInterface: 'jsonrpc',
|
||||
protocol: 'http',
|
||||
httpMethod: 'POST',
|
||||
|
@@ -1,10 +1,10 @@
|
||||
# Default configuration for aria2
|
||||
dir=/data/downloads/aria2
|
||||
log=/proc/self/fd/2
|
||||
log=/var/log/aria2/aria2.log
|
||||
input-file=/config/aria2/aria2.session
|
||||
save-session=/config/aria2/aria2.session
|
||||
enable-rpc=true
|
||||
rpc-listen-port=8080
|
||||
rpc-listen-port=ARIA_RPC_PORT
|
||||
rpc-allow-origin-all=true
|
||||
rpc-listen-all=true
|
||||
disable-ipv6=true
|
||||
@@ -31,5 +31,5 @@ bt-seed-unverified=false
|
||||
bt-save-metadata=true
|
||||
|
||||
bt-tracker=udp://62.138.0.158:6969/announce,udp://188.241.58.209:6969/announce,udp://151.80.120.112:2710/announce,udp://151.80.120.114:2710/announce,udp://93.158.213.92:1337/announce,udp://185.19.107.254:80/announce,udp://185.225.17.100:1337/announce,udp://208.83.20.20:6969/announce,udp://5.206.19.247:6969/announce,udp://37.235.174.46:2710/announce,udp://142.44.243.4:1337/announce,udp://195.154.52.99:80/announce,udp://54.37.235.149:6969/announce,udp://212.1.226.176:2710/announce,udp://89.234.156.205:451/announce,udp://159.100.245.181:6969/announce,udp://45.56.74.11:6969/announce,udp://51.15.226.113:6969/announce,udp://176.113.71.19:6961/announce,udp://51.15.40.114:80/announce
|
||||
on-download-error=/config/aria2/scripts/post-hook.sh
|
||||
on-download-complete=/config/aria2/scripts/post-hook.sh
|
||||
on-download-error=/etc/aria2/scripts/post-hook.sh
|
||||
on-download-complete=/etc/aria2/scripts/post-hook.sh
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# Default nginx configuration
|
||||
user root;
|
||||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
daemon off;
|
||||
|
||||
error_log /proc/self/fd/2 error;
|
||||
error_log /var/log/nginx/nginx.log error;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
@@ -35,7 +35,7 @@ http {
|
||||
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
|
||||
|
||||
location /jsonrpc {
|
||||
proxy_pass http://127.0.0.1:8080/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
@@ -43,7 +43,7 @@ http {
|
||||
}
|
||||
|
||||
location /rpc {
|
||||
proxy_pass http://127.0.0.1:8080/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
@@ -72,7 +72,7 @@ http {
|
||||
return 200 'OK';
|
||||
}
|
||||
|
||||
location /health.json {
|
||||
location /health/json {
|
||||
default_type application/json;
|
||||
allow all;
|
||||
access_log off;
|
||||
|
Reference in New Issue
Block a user