Apache SSL Configuration
October 15th, 2008 by pyrat
Chevrolet Apache
Little example config for SSL on a server running mod_rails (passenger).
<VirtualHost 222.111.143.223:443> ServerName www.website.co.uk DocumentRoot /var/www/apps/website/current/public RailsEnv production SSLEngine On SSLCertificateFile /etc/apache2/certs/website.crt SSLCertificateKeyFile /etc/apache2/certs/website.key SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 </VirtualHost>
May 12th, 2009 at 2:39 pm
sudo a2enmod ssl (if you havent installed SSL yet)