Nginx dynamic proxy_pass keeps redirecting to wrong domain
Francis Daly
francis at daoine.org
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 http://example.com/etc...
That means that when your browser asks nginx for http://example.com/etc,
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.
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list