Closed Roger-Roger-debug closed 1 week ago
This doesn't quite answer your question since it does use host mode, but I was also unable to get it running with nginx without host mode (I didn't try for very long, though).
My solution was to set UDP_MUX_PORT
to e.g. 20000 and HTTP_ADDRESS
to e.g. 20001, enable host networking, and then configure the reverse proxy for 127.0.0.1:20001
.
So changing the port and using host networking with 127.0.0.1 might work for you.
I just noticed that I had
ports:
- 8000:8080/udp
when it should've been 8080:8080/udp
. Changed that and it's working now :)
I'm using Traefik on my server and would like to use it as a reverse proxy for broadcast-box. However, to route network between containers, Traefik needs to share a network, meaning I can't set the network mode to host like in the example config for caddy.
This is what I currently have. It listens for https connections for my.stream.url and routes any connections to the internal 8080 port. It opens up 8080/udp for external connections as well.
With this the webui works, but trying to stream fails. I had hoped that just giving access to 8080/udp would make it work, but that doesn't seem to be the case. Is this even possible without host mode?