1
0
Fork 0

Force SSL in production

This commit is contained in:
Andrew Tomaka 2015-10-08 18:29:37 -04:00
parent 92dbf98339
commit a477d5b969

View file

@ -42,7 +42,7 @@ Rails.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 = true
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.