Open ghostLiulang opened 8 months ago
location /jsonrpc/{
proxy_pass https://localhost:6800/jsonrpc; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; #以下代码使支持WebSocket proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
上面的是nginx代理aria2c RPC服务的配置, 使用ariaNG可以成功连接到aria2c的RPC服务。 下面是插件的配置
location /jsonrpc/{
auth_basic off;
上面的是nginx代理aria2c RPC服务的配置, 使用ariaNG可以成功连接到aria2c的RPC服务。 下面是插件的配置![image](https://github.com/syhyz1990/baiduyun/assets/25993397/25f89f55-8c51-4eac-9533-cd99bea14a45)