Welcome! Log In Create A New Profile


NGinx Load Balancing

All files from this thread

File NameFile Size Posted byDate 
349.gif912 bytesopen | download张立冰05/01/2009Read message
Payam Chychi
April 30, 2009 02:29PM
Hey Guys,

Question, How can you create an nginx proxy server so it uses
x-forward-header to load balance connections to its downstream web
Im using a nginx load balancer and attaching x-forward-header down to
the load balaning farm which is using ipvs/keepalived which then load
balances the traffic locally to a iis / apache cluster

issue is that from my nginx proxy to the ipvs LB as i use SNAT and the
ipvs is only layer4. When a client re-establishes his connection
though the nginx proxy, the system will change its src ip at random
and if there was previously another connection using that
src_ip:dst_port, then the IPVS will assign it to the new user...
session jacking

I am thinking that the issue could be solved by placing an nginx load
balancer in front of the ipvs and allowing nginx to load balance
traffic based on the x-forward-header.. however, this is something
that I am not sure how to do.

any insight would greatly be appreciated

Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer

NGinx Load Balancing

Payam ChychiApril 30, 2009 02:29PM

Re: NGinx Load Balancing

Payam ChychiApril 30, 2009 10:48PM

Re: NGinx Load Balancing Attachments

张立冰May 01, 2009 10:29AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready