Also having some trouble with this. Running ruTorrent as a reverse proxy with nginx, accessible through https://mydomain/rutorrent and this is my Sonarr rTorrent configuration:
- Host: localhost
- Port: 80
- Url Base: rutorrent/plugins/rpc/rpc.php
- Use SSL: No
- Username: none
- Password: none
I’m getting the following error “Unknown exception: Unauthorized”. Don’t have a password set in the application (rtorrent) itself, but I have enabled authentication at server level. Is that causing the authorization issue? If so, how can I bypass it without compromising my security?
This is how my nginx looks like:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
return 301 https://$host$request_uri;
location /RPC2 {
include scgi_params;
scgi_pass 127.0.0.1:5000;
}
}
server {
listen 443 default ssl;
server_name mydomain.com;
include /etc/nginx/conf.d/ssl.conf;
root /var/www;
location /rutorrent {
include /etc/nginx/conf.d/auth-basic.conf;
}
}
And this is what I have in my .rtorrent.rc file:
scgi_port = 127.0.0.1:5000