Varnish and Cloudflare
Andrew Langhorn
andrew.langhorn at digital.cabinet-office.gov.uk
Fri Nov 21 17:27:03 CET 2014
What are you using as your origin?
Let's say you're using Nginx. You'd:
- install the RealIpModule in Nginx
- set a custom header in VCL to be the output of the RealIpModule
On 21 November 2014 16:19, Tobias Karlsson <tokar93 at gmail.com> wrote:
> Hi
>
> 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.
>
> This is my VLC file: https://gist.github.com/tokar86a/7936afeb12b58ea77692
>
> MVH
> Tobias
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
--
Kind regards,
Andrew Langhorn
Web Operations
Government Digital Service
e: andrew.langhorn at digital.cabinet-office.gov.uk
t: +44 (0)7810 737375
a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20141121/fcd368a8/attachment.html>
More information about the varnish-misc
mailing list