diff options
author | jessib <jessib@riseup.net> | 2013-07-15 10:33:13 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-07-15 10:33:13 -0700 |
commit | bf5922d26e27ee9695b07eade42d36a34b63fc4e (patch) | |
tree | 1bba41b4d5b4ba59966012f9171c01817a332bc0 /config/environments | |
parent | cc32ad53286c2c03c88cb55713565c2930796024 (diff) | |
parent | 673c1af5e90a925e00fe6ad7847583a1ddd53ad0 (diff) |
Merge pull request #58 from elijh/bugfix/security
fix misc security related bugs
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 |