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 <[email protected]> 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 > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > -- Kind regards, Andrew Langhorn Web Operations Government Digital Service e: [email protected] t: +44 (0)7810 737375 a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
