atom feed6 messages in ru.sysoev.nginxRe: when front proxy meet reverse proxy
FromSent OnAttachments
maven apacheMar 27, 2012 4:42 am 
Francis DalyMar 27, 2012 1:17 pm 
maven apacheMar 28, 2012 4:15 am.png
Guzmán BrasóMar 28, 2012 7:06 am 
maven apacheMar 28, 2012 7:26 am 
Jonathan MatthewsMar 28, 2012 9:01 am 
Subject:Re: when front proxy meet reverse proxy
From:Francis Daly (fran@daoine.org)
Date:Mar 27, 2012 1:17:01 pm
List:ru.sysoev.nginx

On Tue, Mar 27, 2012 at 07:43:22PM +0800, maven apache wrote:

Hi there,

I don't understand your intended data flow.

Can you describe it more explicitly?

In general terms, "something" makes a http request to nginx; that "something" is "the client". nginx is configured to proxy_pass a request related to the original one to a back-end server; that back-end server is "upstream".

client talks to nginx, and gets a response from nginx. The client doesn't know or care about upstream.

nginx talks to upstream and gets a response from upstream. nginx doesn't know or care how upstream generates the response.

If a web browser is configured to use a proxy server, then as far as nginx is concerned, that proxy server is "the client", not the web browser.

From your description, it sounds like "some javascript running in the browser" is "the client".

It's not clear (to me) what is "nginx" and what is "upstream".

If you can explain more, it might help others to answer your question.

f