NPM (Nginx Proxy Manager) Reverse Proxy ARIA2's JSONRPC
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
#ARIA2
location /jsonrpc {
proxy_pass http://10.2.2.3: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;
#The following code supports WebSocket
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
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).
Hmm it seems like your blog ate my first comment (it was super long) so I
guess I'll just sum it up what I submitted and say, I'm thoroughly enjoying your blog.
I too am an aspiring blog writer but I'm still new to everything.
Do you have any suggestions for first-time blog writers?
I'd definitely appreciate it.
It's amazing to go to see this website and reading the views of
all mates on the topic of this article, while I am also eager of getting experience.
Does your website have a contact page? I'm having trouble locating it but, I'd like to shoot you an email.
I've got some creative ideas for your blog you might be interested in hearing.
Either way, great blog and I look forward to seeing it improve over time.
I read this paragraph fully on the topic of the comparison of most recent and preceding technologies,
it's remarkable article.
It's very straightforward to find out any matter on web as
compared to textbooks, as I found this post at this web site.
At this time I am going to do my breakfast, later than having my breakfast coming over again to
read more news.
Is the proxy host using Docker? If so, can you share the "Details" tag? I'm trying to get it to work on my machine with the abcminiuser/docker-aria2-with-webui image, but it's not working. Thanks!
I utilize two Docker images, p3terx/aria2-pro and p3terx/ariang, both created by P3TERX, and combine them into a single docker-compose.yaml file.
For reference, visit the following link: https://github.com/P3TERX/Aria2-Pro-Docker.
Proxy Host reference: https://github.com/NginxProxyManager/nginx-proxy-manager