<div dir="ltr">So no one have a solution to this? <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">MVH<br>Tobias</div></div>
<br><div class="gmail_quote">2014-11-21 17:42 GMT+01:00 Tobias Karlsson <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I use Apache <br></div><div class="gmail_extra"><br clear="all"><div><div>MVH<span class="HOEnZb"><font color="#888888"><br>Tobias</font></span></div></div><div><div class="h5">
<br><div class="gmail_quote">2014-11-21 17:27 GMT+01:00 Andrew Langhorn <span dir="ltr"><<a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What are you using as your origin?<div><br></div><div>Let's say you're using Nginx. You'd:</div><div><br></div><div>- install the RealIpModule in Nginx</div><div>- set a custom header in VCL to be the output of the RealIpModule</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 21 November 2014 16:19, Tobias Karlsson <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi<br><br></div>When i have Cloudflare activated all visitors that is forwarding to my server behind the varnish get the Varnish server ip instead of the own. What should i do to fix that? When i turn off Cloudflare i dont have this problem. <br><br></div>This is my VLC file: <a href="https://gist.github.com/tokar86a/7936afeb12b58ea77692" target="_blank">https://gist.github.com/tokar86a/7936afeb12b58ea77692</a> <br><div><br clear="all"><div><div><div><div><div>MVH<span><font color="#888888"><br>Tobias</font></span></div></div>
</div></div></div></div></div>
<br></div></div><span>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Kind regards,<div><br></div><div>Andrew Langhorn</div><div>Web Operations</div><div>Government Digital Service</div><div><br></div><div>e: <a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a></div><div>t: <a href="tel:%2B44%20%280%297810%20737375" value="+447810737375" target="_blank">+44 (0)7810 737375</a></div><div>a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH</div></div></div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>