Skip to content

Instantly share code, notes, and snippets.

@cocoastorm
Created September 13, 2019 16:17
Show Gist options
  • Save cocoastorm/83822b6c1528cd7c31f70686a0c70d00 to your computer and use it in GitHub Desktop.
Save cocoastorm/83822b6c1528cd7c31f70686a0c70d00 to your computer and use it in GitHub Desktop.
rtorrent xmlrpc nginx proxy
network.scgi.open_local = /var/run/user/.rtorrent.sock
schedule2 = chmod_scgi_socket, 0, 0, "execute2=chmod,\"g+w,o=\",/var/run/user/.rtorrent.sock"
location /xmlrpc {
include scgi_params;
scgi_pass unix:/var/run/user/.rtorrent.sock;
auth_basic "What's the password?";
auth_basic_user_file /etc/htpasswd.d/htpasswd.user;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment