Assume SSL

This commit is contained in:
Petko Bordjukov 2024-09-13 22:22:43 +03:00
parent fc08089796
commit 2bacd84654
1 changed files with 2 additions and 2 deletions

View File

@ -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"