Welcome! Log In Create A New Profile

Advanced

Re: Nginx reverse proxy multi upstream (multiples sites)

Francis Daly
April 10, 2015 05:24PM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx reverse proxy multi upstream (multiples sites)

cloud devops April 10, 2015 12:45PM

Re: Nginx reverse proxy multi upstream (multiples sites)

Francis Daly April 10, 2015 05:00PM

Re: Nginx reverse proxy multi upstream (multiples sites)

cloud devops April 10, 2015 05:09PM

Re: Nginx reverse proxy multi upstream (multiples sites)

Francis Daly April 10, 2015 05:24PM

Re: Nginx reverse proxy multi upstream (multiples sites)

cloud devops April 10, 2015 06:29PM

Re: Nginx reverse proxy multi upstream (multiples sites)

Francis Daly April 11, 2015 03:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready