[fix #1913] force ssl and secure cookies

This commit is contained in:
simon lehericey 2018-05-09 15:36:47 +02:00
parent 783f1f113e
commit 46ba728d8a

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.