Re: Set balance cookie domain dynamically

2011-09-07 Thread Willy Tarreau
Hi, On Thu, Sep 01, 2011 at 01:40:22PM +1000, Leigh Dyer wrote: > We allow our users to create their own custom domains, so it's several > thousand domains at the moment. We don't have to worry about subdomains > on those custom domains, though, so I could probably use one backend for > our pri

Re: Set balance cookie domain dynamically

2011-08-31 Thread Leigh Dyer
On 1/09/11 10:08 AM, Krzysztof Olędzki wrote: On 2011-09-01 01:06, Leigh Dyer wrote: Hi, Hello, I'm currently using a cookie to handle sticky sessions in my haproxy setup, but I'm having trouble setting the domain on the cookie. For most cases, I need to hardcode the cookie so that it applies

Re: Set balance cookie domain dynamically

2011-08-31 Thread Krzysztof Olędzki
On 2011-09-01 01:06, Leigh Dyer wrote: Hi, Hello, I'm currently using a cookie to handle sticky sessions in my haproxy setup, but I'm having trouble setting the domain on the cookie. For most cases, I need to hardcode the cookie so that it applies across our main domain and any subdomains, lik

Set balance cookie domain dynamically

2011-08-31 Thread Leigh Dyer
Hi, I'm currently using a cookie to handle sticky sessions in my haproxy setup, but I'm having trouble setting the domain on the cookie. For most cases, I need to hardcode the cookie so that it applies across our main domain and any subdomains, like so: cookie BACKENDID insert indirect domai