Enforce HTTPS in production

This commit is contained in:
Christoph Haas 2016-07-22 11:59:14 +02:00
parent b57ed7ce1b
commit b4ae69a519

View file

@ -46,7 +46,7 @@ Debshots::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
# Set to :debug to see everything in the log.
# config.log_level = :info