2-phase proxying
Michał Jaszczyk
jasiu85 at gmail.com
Mon Jan 26 23:55:01 MSK 2009
On Mon, Jan 26, 2009 at 7:19 PM, Mohammad Kolahdouzan
<mohammad_ysm at yahoo.com> wrote:
> Hi,
>
> I need to configure/modify nginx to use it in a 2-phase proxy kind of
> configuration in which:
> - use the hash value of one of the arguments in the original uri to find
> the index of the first backend server (defined in an upstream) that needs to
> be called,
> - generate a separate request from the original request and send it to the
> server specified in the previous stage,
> - parse the output of the first call and generate a second request and
> send it to the second backend server (possibly defined through another
> upstream),
Maybe it will be enough to use the X-Accel-Redirect feature?
Mike
More information about the nginx
mailing list