xmlrpc over nginx w / scgi

时间:2015-09-06 09:26:15

标签: nginx docker

我正在尝试使用nginx作为Web服务器使用xmlrpc配置rtorrent。我正在遇到一个问题,当我运行这个命令时:
xmlrpc localhost/rpc system.listMethods
我得到了502.nginx记录了这个错误:
connect() to unix:/tmp/scgi.socket failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "POST /rpc/RPC2 HTTP/1.1", upstream: "scgi://unix:/tmp/scgi.socket:", host: "localhost"

我正在为套接字设置权限(我认为)。我一直在研究这个问题,并且会欣赏另一双眼睛。您可以在此处找到所有配置文件和代码:https://github.com/nVitius/rtorrent-docker
另外,dockerhub链接:
https://hub.docker.com/r/nvitius/rtorrent-docker/

1 个答案:

答案 0 :(得分:0)

今天早上再次查看之后,我发现问题是rtorrent没有拿起配置文件。我手动指定了它的路径,现在可以正常工作。

相关问题