forked from External/greenlight
fix force ssl logic for lb configuration
This commit is contained in:
@ -44,9 +44,6 @@ Rails.application.configure do
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
config.force_ssl = (ENV["ENABLE_SSL"] == "true")
|
||||
|
||||
# Force SSL for loadbalancer configurations.
|
||||
config.force_ssl = true if ENV["LOADBALANCER_ENDPOINT"].present? && ENV["LOADBALANCER_SECRET"].present?
|
||||
|
||||
# Use the lowest log level to ensure availability of diagnostic information
|
||||
# when problems arise.
|
||||
config.log_level = :debug
|
||||
|
Reference in New Issue
Block a user