title: Apache Reverse Proxy https to http
body: <p>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.</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
  ServerName myserver
  SSLEngine On
  SSLCertificateFile /path/to/file
  SSLCertificateKeyFile /path/to/file
  SSLCertificateChainFile /path/to/file
  ProxyRequests Off
  ProxyPreserveHost On
  &lt;Proxy *&gt;
      AddDefaultCharset Off
      Order deny,allow
      Allow from all
  &lt;/Proxy&gt;
  ProxyPass / http://myserver:8081/
  ProxyPassReverse / http://myserver:8081/
  
  ErrorLog logs/myserver-error_log
  CustomLog logs/myserver-access_log common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>So when I go to <a href="https://myserver/" rel="noreferrer">https://myserver/</a> I expect it to redirect to that port which is running Nexus.</p>
  
  <p>Before I did SSL this was actually working for a VirtualHost *:80. I could go to <a href="http://myserver/" rel="noreferrer">http://myserver/</a> and end up at Nexus. Not sure why https is not working. </p>
  
  <p>What's actually happening is <a href="https://myserver/" rel="noreferrer">https://myserver/</a> goes to <a href="https://myserver" rel="noreferrer">https://myserver</a> and displays a test index.html I have setup in the DocumentRoot.</p>