Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Last active November 26, 2017 23:59
Show Gist options
  • Save thebrianemory/48f2eedec610378b03cca4d8bc31b15f to your computer and use it in GitHub Desktop.
Save thebrianemory/48f2eedec610378b03cca4d8bc31b15f to your computer and use it in GitHub Desktop.
config :your_app, YourAppWeb.Endpoint,
load_from_system_env: true,
url: [scheme: "https", host: "your_app.herokuapp.com", port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/cache_manifest.json",
secret_key_base: Map.fetch!(System.get_env(), "SECRET_KEY_BASE")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment