Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

SSL Setup

Tim Morgan edited this page Sep 9, 2015 · 15 revisions

TODO: improve this page.

  1. Get an SSL certificate.

  2. Setup Apache to only serve OneBody on SSL port 443.

  3. Redirect non-SSL traffic to the secure site.

  4. Set OneBody to use the SSL URL:

    cd /var/www/onebody
    RAILS_ENV=production bundle exec rails console
    Setting.set_global('Features', 'SSL', true)
    Site.current.save
    
  5. Restart Apache.