Bind to 127.0.0.1 instead of 0.0.0.0 by default
[akkoma] / config / config.exs
index 7f46a87551f25c9423f954bb8aa731c1c8b127db..0d07fc692233e17e29ce2756a31fad5fd68734b0 100644 (file)
@@ -139,6 +139,7 @@ config :pleroma, Pleroma.Web.Endpoint,
   instrumenters: [Pleroma.Web.Endpoint.Instrumenter],
   url: [host: "localhost"],
   http: [
+    ip: {127, 0, 0, 1},
     dispatch: [
       {:_,
        [
@@ -442,6 +443,8 @@ config :auto_linker,
   opts: [
     scheme: true,
     extra: true,
+    # TODO: Set to :no_scheme when it works properly
+    validate_tld: true,
     class: false,
     strip_prefix: false,
     new_window: false,