nginx 上的 xmlrpc w/ scgi

xmlrpc over nginx w/ scgi

我正在尝试使用 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"

我正在正确设置套接字的权限(我认为)。我已经为此工作了一段时间,希望能有另一双眼睛。你可以在这里找到所有的 conf 文件和代码:https://github.com/nVitius/rtorrent-docker
另外,dockerhub link:
https://hub.docker.com/r/nvitius/rtorrent-docker/

今天早上又看了一遍,发现问题是rtorrent没有获取配置文件。我手动指定了它的路径,现在可以使用了。