Welcome! Log In Create A New Profile

Advanced

Re: Send all requests to two separate upstream servers?

June 17, 2014 11:32PM
You are wanting to multi-purpose a production env for dev without proper parameters in ur setup.

Set a system to use as ur test client requesting http, setup an if statement and match proper fields and proxy_pass proxyA or proxy_pass proxyB

Id setup the more specific match on top

Only an idea, im sure there are half a dozen ways of doing this... Just not without proper plan

--
Payam Chychi
Network Engineer / Security Specialist


On Tuesday, June 17, 2014 at 8:21 PM, Eric Feldhusen wrote:

> That's almost perfect, except I don't have enough access to the development environment to get it installed.
>
> Eric
>
>
> On Tue, Jun 17, 2014 at 5:27 PM, Yichun Zhang (agentzh) <agentzh@gmail.com (mailto:agentzh@gmail.com)> wrote:
> > Hi
> >
> > On Tue, Jun 17, 2014 at 3:09 PM, Eric Feldhusen wrote:
> > > I'm looking for a way to mirror my production site traffic to a development
> > > environment, so that I have nearly identical traffic going to both to work
> > > through some optimization issues that are hard to do without the load, which
> > > is just incoming data.
> > >
> >
> > Sounds like a perfect use case for the tcpcopy tool:
> >
> > https://github.com/wangbin579/tcpcopy
> >
> > Best regards,
> > -agentzh
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org (mailto:nginx@nginx.org)
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>


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

Send all requests to two separate upstream servers?

Eric Feldhusen June 17, 2014 10:14AM

Re: Send all requests to two separate upstream servers?

Richard Kearsley June 17, 2014 11:10AM

Re: Send all requests to two separate upstream servers?

Eric Feldhusen June 17, 2014 11:14AM

Re: Send all requests to two separate upstream servers?

Richard Kearsley June 17, 2014 11:26AM

Re: Send all requests to two separate upstream servers?

Reinis Rozitis June 17, 2014 11:38AM

Re: Send all requests to two separate upstream servers?

Eric Feldhusen June 17, 2014 06:10PM

Re: Send all requests to two separate upstream servers?

Yichun Zhang (agentzh) June 17, 2014 06:28PM

Re: Send all requests to two separate upstream servers?

Eric Feldhusen June 17, 2014 11:22PM

Re: Send all requests to two separate upstream servers?

unclepieman June 17, 2014 11:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
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