Skip to content

Commit

Permalink
Changes to force the application to use ssl. (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia authored Nov 22, 2017
1 parent 3aba315 commit 8c09cb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
# 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 = true
config.ssl_options = { hsts: false }
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :debug
Expand Down

0 comments on commit 8c09cb0

Please sign in to comment.