crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs

t2.conf (797B)


      1 service test {
      2     port 10001;
      3     type http;
      4     bindto any;
      5     revivinginterval 5;
      6     dispatchmode random;
      7     connectiontimeout 600;
      8     verbosity on;
      9 
     10     backend a {
     11         server localhost;
     12 	verbosity on;
     13         port 10000;
     14         weight 2;
     15         stickycookie BalancerID=Backend_A;
     16         addclientheader "Set-Cookie: BalancerID=Backend_A; Path=/";
     17     }
     18 
     19     backend b {
     20         server localhost;
     21 	verbosity on;
     22         port 10000;
     23         weight 3;
     24         stickycookie BalancerID=Backend_B;
     25         addclientheader "Set-Cookie: BalancerID=Backend_B; Path=/";
     26     }
     27 
     28     backend c {
     29         server localhost;
     30 	verbosity on;
     31         port 10000;
     32         weight 3;
     33         stickycookie BalancerID=Backend_C;
     34         addclientheader "Set-Cookie: BalancerID=Backend_C; Path=/";
     35     }
     36 }