🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2023-03-14 17:00:27 -04:00
parent bafade73fa
commit 16760ba893
5 changed files with 9 additions and 32 deletions

View File

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

View File

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

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