[deployment] fix handling of SSL in prod config

pull/256/head
Paul Schoenfelder 7 years ago
parent 0edeb66761
commit 38b01c3a42
  1. 4
      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")

Loading…
Cancel
Save