X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=9c205cbd2f02cde66445e94235a807413dcf70e0;hb=d9410c488a85bc8da87c1b662ed0a8ffac4d6466;hp=e5e5a977e4a0efbe054345f46094c9069c19a622;hpb=b9bc83097d01f445ca30bf0f70242fa50f1f2d40;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index e5e5a977e..9c205cbd2 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -14,12 +14,13 @@ use Mix.Config # manifest is generated by the mix phoenix.digest task # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, - server: true, http: [port: 4000], 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")