I have an app in Balena that listens for HTTPS traffic on an arbitrary port, in a specific container. We don’t want this port to be 443/80 for various reasons. The host OS is configured to redirect traffic from these ports (80 or 443) to the correct ports in my other container.
I have no trouble accessing this directly, if I am on the same network as my balena device (my balena device has ip
10.0.0.104) I have no trouble accessing the content I have open on these ports.
However, I cannot access this content via the public device URL, and I have not found many settings in the webUI to change the public URL behavior.
When I attempt to connect to my balena device via the public URL, I get a too many redirects error here in Chrome or Firefox - both suggest to clear my cookies but this doesn’t solve the problem.
What can I do so that my content from my container is resolvable on the public URL?