Docker Compose Setup Reverse Proxy

Server is up and running, I can curl it just fine, but when I try to reverse proxy to the server, I get a bad gateway. I've triple checked the env variables, everything "should be" working. Tried the hostnames twenty, twenty-server-1, docker ip addresses, tried forwarding via https, http. no avail. Realize you guys are not in the business of helping setup reverse proxies, but is there anything I might have missed, or misunderstand from the docs?
3 Replies
wheatpigger
wheatpiggerOP2mo ago
was able to get the application to load as expected after adding a proxy-network, and manually supplying the IP of the server container. Not how id usually set this up, but if it works it works
naviupgrade
naviupgrade2mo ago
Hey there @wheatpigger are you using nginx for reverse proxy? Having an issue where it's giving a backend error and wondering if it's the same issue you had. Thanks!
No description
AdityaLahiri
AdityaLahiri2mo ago
do your rest apis work in this case?

Did you find this page helpful?