Replies: 6 comments
-
I would like explanations on this as well |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks so much for the reply and explanation! I had abandoned the reverse proxy because of lack of time and I was able to get everything else up and running. I had some time today and tried to get my setup to work; not remembering port numbers would be huge! Before the proxy I am doing http://192.168.2.x:9091 for transmission.. would be awesome to be able to do a 192.168.2.x/transmission . I believe that's how it works? Anyhow, my problem now is that whatever I do.. the ONLY reverse proxy I can get is transmission. For example: 192.168.2.x/transmission WORKS, but 192.168.2.x/sonarr does NOT work. Edit: I did some more testing, and if i comment all the of the other containers out and run only one such as: The moment I uncomment out the transmission container though http://192.168.2.x/transmission ALWAYS works. I'm suspecting there is a route somewhere but not sure how to change/check this. Is there something I am doing wrong with the below that only transmission works? Pasting my docker-composefile below. (edited to remove the other containers from the compose file... it was a long file that was trivial. This is the web part. All the containers are setup (sonarr, jackett, radarr, transmission) - and worked fine without the proxy. All I did to them before I added the below was remove the network_bridge,
|
Beta Was this translation helpful? Give feedback.
-
I'd recommend dropping the "command: -w ..." bits and writing a proper nginx configuration file and including it as I show below, that'll give you a lot more control:
In that file you'll be able to reference other containers by name exactly as you do in the commands, so you'd fill it in like this:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch. That helped a lot and solved frustration! Fiddled with some base URL's and solved some issues. However, I'm having a 502 bad gateway after a few minutes. When I go to docker ps, i sometimes notice the nginx is listed as unhealthy. Othertimes its listed as still starting. Quite strange... but I guess that is out of scope of the container lol. Possibly something else? |
Beta Was this translation helpful? Give feedback.
-
i added a few docker-compose examples using traefik i would recommend it over nginx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Hi,
I used the docker-compose with web-proxy method. The included qbittorrent worked. However, I have 2 questions:
Is this only useful for if you are outside your network? Or is it also useful for not having to use the port? E.g. http://host/[container] instead of host:[port] ?
With the provided docker-compose code with the web proxy, when I change the reference below I still get qbitorrent, but the formatting seems off (font is small), logo is huge on Chrome and I cannot log in. If I remove the “/qbit” everything works again and I’m not sure why.
Regarding the ports, if should I not be able to change what host port redirects in? Or does it not work because this is a web proxy? I noticed when I changed it the ports: -80:80 below to -79:80 I cannot get in (I realized this is no longer an http port but that’s how I thought the ports worked).
The docker-compose as copied from the main page, highlighting what I am talking about:
(I’m not sure why
Beta Was this translation helpful? Give feedback.
All reactions