Comments (7)
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.
The basics!
- 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
- 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>
- See Attached. I have done a few tries at it :)
from nginx.
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.
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.
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.
FYI, I use transmission (a different BT client), and have a container for it dperson/transmission. I like it better, but YMMV.
from nginx.
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)
- ruTorrent/deluge webui not working properly with nginx proxy/OpenVPN HOT 4
- ARMHF HOT 4
- Handling URL Rewrites HOT 4
- Docker-Compose Support HOT 3
- Create arm build HOT 5
- HTTP 400 Error on every post from the jackett UI when using reverse proxy HOT 6
- Container crashing HOT 4
- nginx.sh script sed error on alpine image HOT 1
- Help with Sonarr and Jackett communication through nginx HOT 5
- Setting headers in web proxy are overwritten
- "SSL" conflicts with already declared size HOT 1
- Usage of the new proxy hosts parameters HOT 2
- not working on my OSMC rpi setup HOT 1
- multible basic auth users with env not possible HOT 1
- Getting plex to run with nginx HOT 5
- ssl_dhparam directive is duplicate in /etc/nginx/conf.d/perfect_forward_secrecy.conf
- How to set multiple headers correctly HOT 3
- Cant use this image with traefik, Am I missing something?
- Error - cannot find fullchain.pem
- Basic auth doesn't seem to apply to proxied requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx.