diff --git a/config/prod.exs b/config/prod.exs
index cd5cdb087..adc1c4bb7 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -15,8 +15,9 @@ 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