Giter Club home page Giter Club logo

Comments (7)

dperson avatar dperson commented on August 18, 2024

First the basics (on the docker host run):

  • Did either container exit (check the status column): sudo docker ps -a
  • Can you connect to both:
    • curl -Ls http://$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' deluge):8112/
    • curl -Ls http://$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web)/
  • Do you have error messages:
    • sudo docker logs deluge
    • sudo docker logs web

from nginx.

yuuzhan avatar yuuzhan commented on August 18, 2024

The basics!

  1. The container did not exit
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                                      NAMES
3bd0a9eb8bf4        dperson/nginx            "nginx.sh -w http://d"   11 hours ago        Up 11 hours         0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   web
d9b2a91dded0        linuxserver/deluge       "/init"                  11 hours ago        Up 11 hours                                                    deluge
de4ac46918e5        dperson/openvpn-client   "openvpn.sh -f -r 192"   13 hours ago        Up 13 hours                                                    vpn
  1. From the host
root@testBox:/home/jason# curl -Ls http://$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' deluge):8112/
root@testBox:/home/jason# curl -Ls http://$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web)/
<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.11.9</center>
</body>
</html>

  1. See Attached. I have done a few tries at it :)

delugeLogs.txt
webLogs.txt

from nginx.

yuuzhan avatar yuuzhan commented on August 18, 2024

As a note, when using net=host, I can connect to the deluge web ui without any issues. I can do some more testing. I am running a VM with a snapshot so I can do lots of testing without any issues. I can even export the VM (Virtualbox) and send you a link if you want.

from nginx.

yuuzhan avatar yuuzhan commented on August 18, 2024

So, it seems the issue lies on the Deluge side, with the inability to set a basedir without apache installed.

That said, using this (hack) I was able to get full functionality:
docker run -it --name web -p 80:80 -p 443:443 -e SSI=y --link vpn:deluge -d dperson/nginx -w "http://deluge:8112/;/deluge" -w "http://deluge:8112/css;/css" -w "http://deluge:8112/js;/js" -w "http://deluge:8112/themes;/themes" -w "http://deluge:8112/icons;/icons" -w "http://deluge:8112/gettext.js;/gettext.js" -w "http://deluge:8112/render;/render" -w "http://deluge:8112/images;/images"

from nginx.

dperson avatar dperson commented on August 18, 2024

Glad you got it working, I meant to get back to you earlier. The no output when trying to curl from the Deluge container directly, pretty strongly indicated the issue was there.

from nginx.

dperson avatar dperson commented on August 18, 2024

FYI, I use transmission (a different BT client), and have a container for it dperson/transmission. I like it better, but YMMV.

from nginx.

yuuzhan avatar yuuzhan commented on August 18, 2024

Indeed. I used it for a while however its scheduling was not what I was looking for. My ISP lets me have unlimited bandwidth between certain hours :)

from nginx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.