chore: update prod configuration to run on the right port
This commit is contained in:
parent
873a201203
commit
2b10644798
1 changed files with 8 additions and 2 deletions
|
@ -10,8 +10,14 @@ use Mix.Config
|
||||||
# which you should run after static files are built and
|
# which you should run after static files are built and
|
||||||
# before starting your production server.
|
# before starting your production server.
|
||||||
config :podcast_feed, PodcastFeedWeb.Endpoint,
|
config :podcast_feed, PodcastFeedWeb.Endpoint,
|
||||||
url: [host: "example.com", port: 80],
|
load_from_system_env: true,
|
||||||
cache_static_manifest: "priv/static/cache_manifest.json"
|
url: [scheme: "https", host: "podcast.herokuapp.com", port: 443],
|
||||||
|
http: [port: {:system, "PORT"}],
|
||||||
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
||||||
|
server: true,
|
||||||
|
root: ".",
|
||||||
|
version: Application.spec(:phoenix_distillery, :vsn),
|
||||||
|
force_ssl: [rewrite_on: [:x_forwarded_proto]]
|
||||||
|
|
||||||
# Do not print debug messages in production
|
# Do not print debug messages in production
|
||||||
config :logger, level: :info
|
config :logger, level: :info
|
||||||
|
|
Loading…
Reference in a new issue