Created
September 13, 2019 16:17
-
-
Save cocoastorm/83822b6c1528cd7c31f70686a0c70d00 to your computer and use it in GitHub Desktop.
rtorrent xmlrpc nginx proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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