Do not redirect HTTP to HTTPS globally. Causes 90% double requests.

This commit is contained in:
Christoph Haas 2016-07-28 18:17:47 +02:00
parent 512d109c6a
commit d9dd2792c6

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