2 messages in ru.sysoev.nginxRe: how to make two sequential requests
FromSent OnAttachments
Yan ChengDec 3, 2008 2:55 am 
Anton YuzhaninovDec 3, 2008 3:30 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: how to make two sequential requestsActions...
From:Anton Yuzhaninov (cit@citrin.ru)
Date:Dec 3, 2008 3:30:03 pm
List:ru.sysoev.nginx

Yan Cheng wrote:

when a client request arrives I have to do two requests to two different real servers(A, B) in order. The second request, which is to B, is created based on A's response on the fly.

Any ideas?

Return in A's response X-Accel-Redirect header which points to B.