Nginx dynamic proxy_pass keeps redirecting to wrong domain

Francis Daly francis at
Fri Nov 17 07:53:29 UTC 2017

On Fri, Nov 17, 2017 at 04:48:04AM +0100, Ruben D wrote:

Hi there,

> In my browser bar I see the address beginning with instance-001. While I expect not to have a redirect and just see

That means that when your browser asks nginx for,
nginx sends it back a HTTP redirect to http://instance-001/etc.

My question is: is it the instance-001 web server that sends that redirect
to nginx before nginx sends it to your browser? The instance-001 web
server logs should show what it does.

Set up a quiet system.

Make one http request.

Report what the logs say.

Francis Daly        francis at

More information about the nginx mailing list