Offloading SSL with Nginx and Varnish
Varnish is a real powerful cache solution for web servers. He is unfortunately not able to do it over SSL. Anyway, there is a solution by offloading it with Nginx. Here is a schema to get a better understanding :
Nginx decrypt SSL, pass it in clear to Varnish. If Varnish got it, replies to Nginx which crypt back data to send to user.
I’ve made a full documentation to get it working well, follow the link.