Current section

Files

Jump to
phoenix priv template config prod.exs
Raw

priv/template/config/prod.exs

use Mix.Config
# ## SSL Support
#
# To get SSL working, you will need to set:
#
# https: [port: 443,
# keyfile: System.get_env("SOME_APP_SSL_KEY_PATH"),
# certfile: System.get_env("SOME_APP_SSL_CERT_PATH")]
#
# Where those two env variables point to a file on
# disk for the key and cert.
config :<%= application_name %>, <%= application_module %>.Endpoint,
url: [host: "example.com"],
http: [port: System.get_env("PORT")],
secret_key_base: "<%= secret_key_base %>"
config :logger,
level: :info