Skip to content

Commit

Permalink
Force SSL on heroku
Browse files Browse the repository at this point in the history
* This was previously done with NGINX configuration files.
  • Loading branch information
AdrianCann committed Jul 4, 2018
1 parent 87d8668 commit 86d992b
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 @@ -52,7 +52,7 @@
# 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 = true

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

0 comments on commit 86d992b

Please sign in to comment.