I've seen several topics on this issue however none of which actually cover my exact situation. I need to be able to support SSL from my nodebalancer setup with TCP protocol and have the selected node select the appropriate VHost(I will run multiple SSL websites on my setup, hopefully). My understanding is that the VHost cannot use a Name-based method, as the domain name cannot be read until after the SSL is terminated. So how can I send traffic to the appropriate VHost without knowing the domain name?
Currently however I am only attempting setting up just 1 domain with SSL, so if there is only a way to host just 1 site, how could I do just that one?
Thanks
EDIT: some extra info, this is the only SSL VHost i have configured so far, going to my domain only shows it connecting and never times out. the rest of my vhosts work correctly.
Code:
<VirtualHost IP:443>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/www.domain.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/www.domain.com.key
SSLCACertificateFile /etc/apache2/ssl/ca.bundle
ServerAdmin support@domain.com
ServerName www.domain.com
ServerAlias domain.com
DocumentRoot /srv/www/domain.com/public_html
ErrorLog /srv/www/domain.com/log/error.log
CustomLog /srv/www/domain.com/log/access.log combined
</VirtualHost>