summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-11 17:01:02 -0700
committerelijah <elijah@riseup.net>2013-07-11 17:01:02 -0700
commitb6b336d9f96c0618885b587ebb2b4d85a9381afb (patch)
tree71da656eb4ed51715e1f13639befdf62f0009d87 /config/environments
parent1f77c345783bf197be183b2e5025f875c0eac882 (diff)
config - add force_ssl to config, add configuration notes to README.md
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index d9d37bd..32b4558 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -28,7 +28,7 @@ LeapWeb::Application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
+ config.force_ssl = APP_CONFIG[:force_ssl]
# See everything in the log (default is :info)
# config.log_level = :debug