I've done a fair amount of browsing on here and the Internet but I can't configure my apache to reverse proxy https to http. I feel like I'm close however. All the examples I've followed seem to work for everyone except me and my setup is very simple.
<VirtualHost *:443>
ServerName myserver
SSLEngine On
SSLCertificateFile /path/to/file
SSLCertificateKeyFile /path/to/file
SSLCertificateChainFile /path/to/file
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
AddDefaultCharset Off
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://myserver:8081/
ProxyPassReverse / http://myserver:8081/
ErrorLog logs/myserver-error_log
CustomLog logs/myserver-access_log common
</VirtualHost>
So when I go to https://myserver/ I expect it to redirect to that port which is running Nexus.
Before I did SSL this was actually working for a VirtualHost *:80. I could go to http://myserver/ and end up at Nexus. Not sure why https is not working.
What's actually happening is https://myserver/ goes to https://myserver and displays a test index.html I have setup in the DocumentRoot.