🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2023-03-16 03:01:45 -04:00
parent 3563933e2e
commit e58cbdedc7
5 changed files with 17 additions and 24 deletions

View File

@@ -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,

View File

@@ -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

View File

@@ -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";