diff --git a/config/prod.exs b/config/prod.exs index 9f3e720b08..0b2f4f0c67 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -3,12 +3,10 @@ import Config config :dotcom, :cache, Dotcom.Cache.Multilevel config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TripPlanFeedback.Cache -unless System.get_env("PORT") do - # configured separately so that we can have the health check not require - # SSL - config :dotcom, :secure_pipeline, - force_ssl: [ - host: nil, - rewrite_on: [:x_forwarded_proto] - ] -end +# configured separately so that we can have the health check not require +# SSL +config :dotcom, :secure_pipeline, + force_ssl: [ + host: nil, + rewrite_on: [:x_forwarded_proto] + ]