I have installed and configured varnish on my new server. The server is currently working for http traffic.
I would like to also forward SSL traffic to my webserver. It is not necessary to cache this traffic at this time.
Any suggestions? Thank you!
I have installed and configured varnish on my new server. The server is currently working for http traffic.
I would like to also forward SSL traffic to my webserver. It is not necessary to cache this traffic at this time.
Any suggestions? Thank you!
After reading the comment by gertvdijk, I have decided that the best strategy is to forward HTTPS traffic from the firewall directly to the web server, bypassing the Varanish proxy (as I don't need it to cache this traffic).
If I understand your question correctly, you want to handle the SSL
layer at your webserver behind Varnish, right? Why would want a caching server to only
forward traffic? You can use plain firewall (iptables
) rules or have your webserver
connected directly at port 443 for this without the need for traffic to pass Varnish.