aria2 is a lightweight multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
The SSL certificate used by the Aria2 server does not support port 6800, so NPM (Nginx Proxy Manager) needs to be used to provide both HTTP(s) and Aria2 JSONRPC services.
Edit NPM (Nginx Proxy Manager)
Proxy Host
» Advanced
|
|
Parameter | Description |
---|---|
location /jsonrpc | RPC address is //example.com/jsonrpc |
http://10.2.2.3:6800/jsonrpc | The full path of the host (10.2.2.3 is host IP address) |
Final Result:
You can now connect to ARIA2 RPC via “https” and “wss” (WebSocket Secure).