Magento Community + varnish + cloudflare


#1

Hi,

I’m setting up a new webshop with Magento, to offload ssl and security I put cloudflare in front with the cloudflare plugin installed. The webshop itself does not have a certificate, as the varnish cache server does not support that. However when I switch on flexible ssl on cloudflare I get into a redirect loop.

Is there a way around that? Or should I put another ssl proxy in front of varnish (cloudflare -> ssl proxy -> varnish cache server -> apache hosting Magento)?

Kevin


#2

You cant offload SSL. You will still need to have a valid certificate on your server.
Particularly with a webshop your should never use Flexible.

If Varnish does not support SSL you should definitely implement that SSL proxy. That should run locally however, so that all traffic stays within the same machine.


closed #3

This topic was automatically closed after 31 days. New replies are no longer allowed.