Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bausch

Pages: [1]
1
SSL / Varnish+NginX+APache+Letsencrypt proposal
« on: July 18, 2016, 04:34:25 AM »
Currently, there is an option right within CWP to configure the web server so that it uses Varnish on the front, and NginX as a reverse proxy for apache on the back. Which works fine. But if we need to use ssl/letsencrypt we would face the problem that varnish can not deal with ssl.

I propose the option to change their order, make nginx handle the request and deal with ssl on the front, forwarding back to varnish which decides wheather to serve from cache or forward it to apache in the back. So they would be NginX >> Varnish >> Apache. That way the site still has cache, reverse proxy, ssl and uses apache as a backend to serve dynamic content.

Pages: [1]