Skip to content

Commit

Permalink
DM2 #254 - Resetting force_ssl to "true" and protocol to "https"
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Mar 25, 2020
1 parent b9ab84d commit 5654805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# 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 = false
config.force_ssl = true

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
Expand Down Expand Up @@ -85,4 +85,4 @@
end

Rails.application.routes.default_url_options[:host] = ENV['HOSTNAME']
Rails.application.routes.default_url_options[:protocol] = 'http'
Rails.application.routes.default_url_options[:protocol] = 'https'

0 comments on commit 5654805

Please sign in to comment.