diff options
author | elijah <elijah@riseup.net> | 2013-07-11 17:01:02 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-11 17:01:02 -0700 |
commit | b6b336d9f96c0618885b587ebb2b4d85a9381afb (patch) | |
tree | 71da656eb4ed51715e1f13639befdf62f0009d87 /config/environments | |
parent | 1f77c345783bf197be183b2e5025f875c0eac882 (diff) |
config - add force_ssl to config, add configuration notes to README.md
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 2 |
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 |