From b9dcb65a9283f6771ff9c536a09aa32fb1f8a9ba Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Fri, 10 Feb 2017 15:05:09 -0500 Subject: [PATCH] force SSL --- app/assets/stylesheets/fa/gl-fa.scss | 16 ++++++++++++++++ config/environments/production.rb | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/fa/gl-fa.scss b/app/assets/stylesheets/fa/gl-fa.scss index 001bc336..bd2eeb70 100644 --- a/app/assets/stylesheets/fa/gl-fa.scss +++ b/app/assets/stylesheets/fa/gl-fa.scss @@ -1,2 +1,18 @@ +// BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. +// +// Copyright (c) 2016 BigBlueButton Inc. and by respective authors (see below). +// +// This program is free software; you can redistribute it and/or modify it under the +// terms of the GNU Lesser General Public License as published by the Free Software +// Foundation; either version 3.0 of the License, or (at your option) any later +// version. +// +// BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +// PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License along +// with BigBlueButton; if not, see . + @import "font-awesome-sprockets"; @import "font-awesome"; diff --git a/config/environments/production.rb b/config/environments/production.rb index 7d1f4e9f..d1b28090 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -40,11 +40,11 @@ Rails.application.configure do # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. - # config.force_ssl = true + config.force_ssl = ENV['DISABLE_FORCE_SSL'].blank? # Use the lowest log level to ensure availability of diagnostic information # when problems arise. - config.log_level = :debug + config.log_level = :info # Prepend all log lines with the following tags. config.log_tags = [ :request_id ]