Varnish and Cloudflare

Tobias Karlsson tokar93 at gmail.com
Mon Nov 24 15:34:21 CET 2014


So no one have a solution to this?

MVH
Tobias

2014-11-21 17:42 GMT+01:00 Tobias Karlsson <tokar93 at gmail.com>:

> I use Apache
>
> MVH
> Tobias
>
> 2014-11-21 17:27 GMT+01:00 Andrew Langhorn <
> andrew.langhorn at digital.cabinet-office.gov.uk>:
>
>> 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/20141124/5cd566f0/attachment.html>


More information about the varnish-misc mailing list