diff --git a/config/environments/production.rb b/config/environments/production.rb index 646ac66bc..063c69e83 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -19,7 +19,7 @@ config.action_mailer.default_url_options = { host: ENV.fetch("APPLICATION_HOST", "localhost"), protocol: ENV.fetch("APPLICATION_HOST_PROTOCOL", "http") } config.action_mailer.perform_caching = false config.action_controller.action_on_unpermitted_parameters = false - config.force_ssl = false + config.force_ssl = true config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" config.active_storage.service = :local config.cache_store = :mem_cache_store, "figgy-web-prod1.princeton.edu"