<div dir="ltr">Hi Mark,<div><br></div><div>I suggest going over the following blog post for the changes you're looking for. Good luck moving forward :D</div><div><br></div><div><a href="https://info.varnish-software.com/blog/proper-sticky-session-load-balancing-varnish">https://info.varnish-software.com/blog/proper-sticky-session-load-balancing-varnish</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 4:52 AM, Mark Hanford <span dir="ltr"><<a href="mailto:mark@hanfordonline.co.uk" target="_blank">mark@hanfordonline.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks. I'm in the process of trying to upgrade our current v3 config to v4+ for upgrading to Varnish 5. <div><br></div><div>In my old v3 config, I use the XFF header to change the client.identity if it is present.</div><div><br></div><div><div>    # For session-persistence, set a client identity.</div><div>    # We're using the client's IP for this to ensure server-persistence.</div><div>    if (req.http.X-Forwarded-For) {</div><div>        set client.identity = req.http.X-Forwarded-For;</div><div>    } else {</div><div>        set client.identity = client.ip;</div><div>    }</div></div><div><br></div><div>It is important that a request from one remote client goes to the same backend every time, when possible. Do I still need to deal with this, or will this be handled transparently in some way?</div><div><br></div><div>I suspect I'll have more questions as I go along, so I apologise in advance for the spam :)</div><div><br></div><div>thanks,</div><div><br></div><div>Mark</div></div>
<br>______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/<wbr>lists/mailman/listinfo/<wbr>varnish-misc</a><br></blockquote></div><br></div>