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 Apr 9, 2016 · 15 revisions
  1. Get and install 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.