From 38b01c3a42dc324ba22a593a56be42fb5762473f Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Mon, 4 Jun 2018 18:46:21 -0400 Subject: [PATCH] [deployment] fix handling of SSL in prod config --- apps/explorer_web/config/prod.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/explorer_web/config/prod.exs b/apps/explorer_web/config/prod.exs index fbfb3cfd40..0d872fde92 100644 --- a/apps/explorer_web/config/prod.exs +++ b/apps/explorer_web/config/prod.exs @@ -15,9 +15,9 @@ use Mix.Config # which you typically run after static files are built. config :explorer_web, ExplorerWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json", - force_ssl: [rewrite_on: [:x_forwarded_proto]], - load_from_system_env: true, + force_ssl: false, secret_key_base: System.get_env("SECRET_KEY_BASE"), + http: [port: System.get_env("PORT")], url: [ scheme: "http", port: System.get_env("PORT")