SSL can safely be enforced. nginx can handle that without loops now.
This commit is contained in:
parent
88858b1159
commit
434e44a2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue