Guide: rTorrent + ruTorrent installation
|
23rd Apr, 2014, 12:19 PM
Post: #24
|
|||
|
|||
RE: Guide: rTorrent + ruTorrent installation
Hi all,
Just wanted to say thanks for this awesome script! Got rtorrent and rutorrent up and running quickly and it makes a great xbian citizen w/ XBMC w/ the nice levels. I also wanted to mange rtorrent remotely with a client such as Transdroid on my android, but it appears scgi wasn't configured to allow this. It also wasn't configured for authentication, and I didn't want to open nginx up to the entire world, so I enabled basic auth on it. Here's what I did: nano /etc/nginx/sites-enabled/rutorrent Paste in following (edit port, auth realm, and auth file) and save. server { listen 9999; ##Replace with port to listen on - preferably not same as rutorrent server_name localhost; location ^~ /scgi { auth_basic "Restricted"; ##auth zone - whatever you want to use auth_basic_user_file torpasswd; ##auth file - relative to /etc/nginx/. include scgi_params; scgi_pass unix:/tmp/rtorrent.sock; } } Now you need an auth file at /etc/nginx/torpasswd (or whatever auth file name you specified) Easiest way is to use this online tool here: http://www.askapache.com/online-tools/htpasswd-generator/ -> Be sure to put in the realm used in "auth_basic" in nginx config above, and select md5 and Basic Auth. nano /etc/nginx/torpasswd -> paste in digest algorithm above sudo /etc/init.d/nginx restart Enjoy! In transdroid, you specify user name and password, and then for SCGI mount point you put "/scgi", and also specify the port number you mapped it to. NAT the port through your router and you've got access anywhere with Dynamic DNS! ~James |
|||
« Next Oldest | Next Newest »
|