lighttpd forum migration > Proxying multiple SSL vhosts

Posted by Toomas Aas (Guest)
on 21.11.2007 20:05
I'm migrating to a new webserver (replacing my current Apache server 
with a new machine), and I thought that instead of using "just" Apache, 
I'd install lighty to listen on port 80 to serve most of the static 
content, and proxy some of the more scary stuff to Apache which I'd set 
up to listen on 127.0.0.1:8000 and 127.0.0.1:4443.

However, one thing I'm not certain about. I am currently using a mix of 
name-based and IP-based virtual hosts with Apache. How to proxy them 
properly? With http I think it's easy, because I could just set up all 
vhosts in Apache as name-based. However, I don't think I can do this 
with HTTPS. Would it work, if I set up each ssl vhost on separate port 
(127.0.0.1:4443, 127.0.0.1:4444, ...) and then proxy accordingly? The 
idea just struck me while writing this post and at first glance it feels 
like it might work...