Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Created November 27, 2017 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebrianemory/8a4c87672f79f9f06dcc3fda5976d151 to your computer and use it in GitHub Desktop.
Save thebrianemory/8a4c87672f79f9f06dcc3fda5976d151 to your computer and use it in GitHub Desktop.
config :tilex, TilexWeb.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