I need to reverse proxy a backed SSL application.
I have been told that Proxy’ing with SSL is not supported by DH and that I will need to turn off managed Apache and set it up my self. Fair enough (although it seems like they should sport it)…
Can anyone help me with the correct Apache config settings? I have been at this for well over 2 hours with no luck.
I have a nodejs application running with SSL on port 8000.
I would like to be able to navigate to https://my.example.com and get the nodejs application running on port 8000.
Here is what I have:
<VirtualHost x.x.x.x:443> <IfModule apache_ssl.c> SSLEnable SSLCertificateFile /dh/apache2/apache2-yyy/keys/my.example.com.crt SSLCertificateKeyFile /dh/apache2/apache2-yyy/keys/my.example.com.key SSLCertificateChainFile /dh/apache2/apache2-yyy/keys/my.example.com.int </IfModule> <IfModule mod_ssl.c> SSLEngine on SSLCertificateFile /dh/apache2/apache2-yyy/keys/my.example.com.crt SSLCertificateKeyFile /dh/apache2/apache2-yyy/keys/my.example.com.key SSLCertificateChainFile /dh/apache2/apache2-yyy/keys/my.example.com.int SetEnvIf User-Agent ".*MSIE [2-5]\..*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 </IfModule> ProxyPass / https://x.x.x.x:8000/ ProxyPassReverse / https://x.x.x.x:8000/ </VirtualHost>
Apache starts just fine, but when I navigate to https://my.example.com it just spins forever and gives a connection timeout error.
What am I doing wrong?
Thanks for any help and suggestions,
P.S. Obviously, the URL given is fake and I have really been using my own domain.