Sticky clients and varnish

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 6 11:35:23 CEST 2010


In message <alpine.DEB.1.10.1005061107350.4330 at andreas-haase-linux.evolver.de>,
 Andreas Haase - evolver group writes:
>Hello,
>
>I'd like to use a director with sticky client configured. But all 
>documentation I found only mentions random and round-robin as possible 
>options. Is there any recent docu for this feature?

We're working on the docs, but if you make a "client" director
(syntax otherwise like the "random" director) it will distribute
based on the client's IP#.

This does not (yet) take X-Forwarded-For headers into account.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




More information about the varnish-misc mailing list