Nginx reverse proxy multi upstream (multiples sites)
Francis Daly
francis at daoine.org
Fri Apr 10 21:23:46 UTC 2015
On Fri, Apr 10, 2015 at 05:09:33PM -0400, cloud devops wrote:
Hi there,
> When I make http://panel.cloud.com I have the first site which is on the
> first stream
> Si I make http://panel.cloud.com/panel, in this case it was redirected to
> the home page of the second site as the configuration is done but i can not
> navigate on the site because the URL is changed.
I'm afraid I do not fully understand.
"panel.cloud.com" resolves to your nginx machine, yes?
You do "curl -i http://panel.cloud.com/", and you expect to get the
response from 10.1.0.16 (upstream market.cloud.com) for "/"? And that
is what you get?
You do "curl -i http://panel.cloud.com/panel", and you expect to get
the response from 10.1.0.12 for "/panel"? What response do you get?
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list