mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-09-18 03:57:39 -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: 'ARIA_RPC_PORT',
|
||||
rpcPort: '8000',
|
||||
rpcInterface: 'jsonrpc',
|
||||
protocol: 'http',
|
||||
httpMethod: 'POST',
|
||||
|
@@ -4,7 +4,7 @@ log=/var/log/aria2/aria2.log
|
||||
input-file=/config/aria2/aria2.session
|
||||
save-session=/config/aria2/aria2.session
|
||||
enable-rpc=true
|
||||
rpc-listen-port=ARIA_RPC_PORT
|
||||
rpc-listen-port=8000
|
||||
rpc-allow-origin-all=true
|
||||
rpc-listen-all=true
|
||||
disable-ipv6=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:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:8000/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:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:8000/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
Reference in New Issue
Block a user