Don't enforce SSL on Phoenix level

This commit is contained in:
Marcin Kulik 2016-10-15 12:14:35 +02:00
parent 1c7bb5e164
commit 821cef7bf0

View File

@ -14,7 +14,6 @@ use Mix.Config
config :asciinema, Asciinema.Endpoint, config :asciinema, Asciinema.Endpoint,
http: [port: {:system, "PORT"}], http: [port: {:system, "PORT"}],
url: [scheme: "https", host: "asciinema.org", port: 443], url: [scheme: "https", host: "asciinema.org", port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/manifest.json", cache_static_manifest: "priv/static/manifest.json",
secret_key_base: System.get_env("SECRET_KEY_BASE") secret_key_base: System.get_env("SECRET_KEY_BASE")