Dummy proxy backends

Peter Leonov gojpeg at gmail.com
Sun Dec 13 01:07:59 MSK 2009


On 12.12.2009, at 22:18, Harish Sundararaj <tuxtoti at gmail.com> wrote:

> Hi all,
> I'm not sure if this is possible. What i want is something like this:
>
> 1) Send all requests to both Backend A and Backend B.
> 2) But discard responses received from Backend B. Only send  
> responses received from Backend A to the client.
>
> I need this for setting up a dummy downstream for testing/debugging  
> purposes with live traffic.
>
> Any help?

I'v been thinking about kinda like this some time ago. For test  
purposes only too :)

The only nondestructive way I can imagine is to parse requests out of  
access log and perform them with any tool you like: curl, lwp or even  
in-browser AJAX :)

Best regards,
Peter.



More information about the nginx mailing list