Using the certificates from 004-Basic-SSL-for-use-with-web-and-mail.txt 4) Configure an apache virtual host to proxy balance to these mongrels # cd /opt/csw/apache2/etc/virtualhost # nano myrailsapp-domain-ssl.conf With the contents of ServerName YOURDOMAIN.com ServerAlias *.YOURDOMAIN.com DocumentRoot /home/YOUR/PATH/TO/RAILS/APP/public Options FollowSymLinks AllowOverride None Order allow,deny Allow from all BalancerMember http://YOUR-PRIVATE-IP:8000 BalancerMember http://YOUR-PRIVATE-IP:8001 BalancerMember http://YOUR-PRIVATE-IP:8002 BalancerMember http://YOUR-PRIVATE-IP:8003 ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass / balancer://app1-mongrels/ ProxyPassReverse / balancer://app1-mongrels/ ProxyPreserveHost On RequestHeader set X_FORWARDED_PROTO "https" SSLEngine on SSLCertificateFile /home/ssl/part.domain.com.crt SSLCertificateKeyFile /home/ssl/part.domain.com.key