Assume SSL
This commit is contained in:
parent
fc08089796
commit
2bacd84654
|
@ -46,7 +46,7 @@ Rails.application.configure do
|
|||
|
||||
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
||||
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
|
||||
# config.assume_ssl = true
|
||||
config.assume_ssl = true
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
config.force_ssl = ENV["CLARION_USE_PLAINTEXT"] != "yes"
|
||||
|
|
Loading…
Reference in New Issue