X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=9c205cbd2f02cde66445e94235a807413dcf70e0;hb=5c6c3026ea7bd20cb2c10f6e2e34a54734d2509e;hp=cd5cdb087eb1b566b3947d972abc7a6fd37f1ca5;hpb=4b98a7ce4ef4b4e7b74f533e6d6ed343e1b34c48;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index cd5cdb087..9c205cbd2 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -15,11 +15,12 @@ use Mix.Config # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], - protocol: "http", - serve_endpoints: true + protocol: "http" + +config :phoenix, serve_endpoints: true # Do not print debug messages in production -config :logger, level: :info +config :logger, level: :warn # ## SSL Support # @@ -62,3 +63,6 @@ config :logger, level: :info # Finally import the config/prod.secret.exs # which should be versioned separately. import_config "prod.secret.exs" + +if File.exists?("./config/prod.exported_from_db.secret.exs"), + do: import_config("prod.exported_from_db.secret.exs")