Skip to content

Commit

Permalink
Fixing some prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinst committed May 9, 2017
1 parent 6980123 commit 5c36c55
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions elixir/phoenix/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ use Mix.Config
#
# You should also configure the url host to something
# meaningful, we use this information when generating URLs.
#
# Finally, we also include the path to a manifest
# containing the digested version of static files. This
# manifest is generated by the mix phoenix.digest task
# which you typically run after static files are built.
config :my_phoenix, MyPhoenix.Endpoint,
http: [port: {:system, "PORT"}],
http: [port: 3000, protocol_options: [max_keepalive: 5_000_000]],
url: [host: "example.com", port: 80],
cache_static_manifest: "priv/static/manifest.json"
server: true

# Do not print debug messages in production
config :logger, level: :info
Expand Down Expand Up @@ -56,6 +51,3 @@ config :logger, level: :info
# config :my_phoenix, MyPhoenix.Endpoint, server: true
#

# Finally import the config/prod.secret.exs
# which should be versioned separately.
import_config "prod.secret.exs"

0 comments on commit 5c36c55

Please sign in to comment.