Skip to content
Advertisement

Tag: reverse-proxy

Howto debug when nginx gives 502 bad gateway?

On landing.example.com:10000 have I a webserver that works fine, which is a Docker container that exposes port 10000. Its IP is 172.17.0.2. What I would like is having a nginx reverse proxy on port 80, and send the visitor to different Docker containers depending on the URL they visit. When I do this, I get 502 Bad Gateway and the

Advertisement