SSL can safely be enforced. nginx can handle that without loops now.

This commit is contained in:
Christoph Haas 2016-08-06 12:10:30 +02:00
parent 88858b1159
commit 434e44a2a3

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