Browse Source

Do not force ssl (#2877)

pull/2878/head v0.4.90.1
kosiakkatrina 3 weeks ago committed by GitHub
parent
commit
2277585f1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      config/environments/production.rb

2
config/environments/production.rb

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

Loading…
Cancel
Save