mirror of
https://github.com/czhu12/canine.git
synced 2025-12-30 07:39:43 -06:00
allow http on cluster mode
This commit is contained in:
@@ -49,7 +49,7 @@ Rails.application.configure do
|
||||
# config.assume_ssl = true
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
if Rails.application.config.local_mode
|
||||
if Rails.application.config.local_mode || Rails.application.config.cluster_mode
|
||||
config.ssl_options = { hsts: false }
|
||||
config.force_ssl = false
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user