crossroads

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

t1.conf (772B)


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