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,11 +525,11 @@
|
||||
browserNotification: !1,
|
||||
rpcAlias: 'aria2',
|
||||
rpcHost: '127.0.0.1',
|
||||
rpcPort: '8000',
|
||||
rpcPort: 'REPLACE_SERVER_PORT',
|
||||
rpcInterface: 'jsonrpc',
|
||||
protocol: 'http',
|
||||
httpMethod: 'POST',
|
||||
secret: '',
|
||||
secret: 'REPLACE_RPC_SECRET',
|
||||
extendRpcServers: [],
|
||||
globalStatRefreshInterval: 1e3,
|
||||
downloadTaskRefreshInterval: 1e3,
|
||||
|
@@ -4,9 +4,10 @@ log=/data/logs/aria2/aria2.log
|
||||
input-file=/config/aria2/aria2.session
|
||||
save-session=/config/aria2/aria2.session
|
||||
enable-rpc=true
|
||||
rpc-listen-port=8000
|
||||
rpc-listen-port=6800
|
||||
rpc-allow-origin-all=true
|
||||
rpc-listen-all=true
|
||||
rpc-secret=REPLACE_RPC_SECRET
|
||||
disable-ipv6=true
|
||||
max-concurrent-downloads=5
|
||||
continue=true
|
||||
|
@@ -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:8000/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:6800/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:8000/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:6800/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
Reference in New Issue
Block a user