Skip to content

Commit

Permalink
Force SSL in production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 8, 2023
1 parent a4b6b9f commit bf86134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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 = true
config.force_ssl = true

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
Expand Down

0 comments on commit bf86134

Please sign in to comment.