title: webrick using ssl whats to do?
body: <p>I've got a rails 4 application and I want to run it with SSL on webrick. what do I have to do? </p>
  
  <p>I've added the ssl certificate for the domain and startet like this</p>
  
  <p>bundle exec rails s -e production -p 3001 --binding=0.0.0.0</p>
  
  <p>Now I got this error: </p>
  
  <pre><code>Internal Server Error
  
  The server encountered an internal error or misconfiguration and was unable to complete your request.
  
  Please contact the server administrator at  to inform them of the time this error occurred, and the actions you performed just before this error.
  
  More information about this error may be available in the server error log.
  
  Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
  
  Apache Server at domain.de Port 443
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Directives set for Apache HTTPS</p>
  
  <pre><code>ProxyPreserveHost On
  ProxyRequests On
  ServerName domain.de
  ServerAlias *.domain.de
  ProxyPass / https://subdomain.domain.de:3001/
  ProxyPassReverse / https://subdomain.domain.de:3001/
  SSLEngine on
  </code></pre>