|
|
@ -38,7 +38,7 @@ Rails.application.configure do |
|
|
|
# config.assume_ssl = true |
|
|
|
# config.assume_ssl = true |
|
|
|
|
|
|
|
|
|
|
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
|
|
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
|
|
|
config.force_ssl = true |
|
|
|
# config.force_ssl = true |
|
|
|
|
|
|
|
|
|
|
|
# Skip http-to-https redirect for the default health check endpoint. |
|
|
|
# Skip http-to-https redirect for the default health check endpoint. |
|
|
|
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } } |
|
|
|
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } } |
|
|
|