Merge pull request #1914 from betagouv/fix_1913_force_ssl

[fix #1913] force ssl and secure cookies
This commit is contained in:
LeSim 2018-05-09 16:42:49 +02:00 committed by GitHub
commit 949f3f30b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.