mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
Control config.force_ssl with an ENV variable
This commit is contained in:
parent
bf219ec015
commit
207319ae57
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ Osem::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 = !!ENV['FORCE_SSL']
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
config.log_level = :info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue