Force access over ssl in production mode.

This commit is contained in:
benni 2012-12-26 14:12:48 +01:00
parent d347e2404b
commit e509e28fd0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Foodsoft::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
# See everything in the log (default is :info)
# config.log_level = :debug