Issue solved - The issue WAS NOT NGINX. The issue was a former developer trying to be helpful that ended up kicking our ass in the long run. They created a redirect in their code that if someone tried to use the HTTP protocol it would automatically redirect to HTTPS, once we commented this pesky couple lines of code out and rebuilt the container, surprise, surprise... NGINX did as it was told. Lesby reubendevries - How to...
So trying to setting nginx as a reverse proxy using docker - I have three node js containers (one frontend and two backend services) the frontend service calls the two backend services. So I want nginx to redirect to the frontend (which is web application), but every time I try to send something I get a 502 bad gateway error. When I directly exec into the docker containers I can ping the other conby reubendevries - How to...