X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.exs;h=7f46a87551f25c9423f954bb8aa731c1c8b127db;hb=135c19676994defd6de729a497af5fb1f9c7b0ad;hp=4e2b1703bc519400416b54c3690bc24555e99a83;hpb=f82382de22c860c4a67a69e579e2d1fd2b186a87;p=akkoma diff --git a/config/config.exs b/config/config.exs index 4e2b1703b..7f46a8755 100644 --- a/config/config.exs +++ b/config/config.exs @@ -244,10 +244,9 @@ config :pleroma, :instance, safe_dm_mentions: false, healthcheck: false, remote_post_retention_days: 90, - skip_thread_containment: false, - limit_unauthenticated_to_local_content: true - -config :pleroma, :app_account_creation, enabled: true, max_requests: 25, interval: 1800 + skip_thread_containment: true, + limit_to_local_content: :unauthenticated, + dynamic_configuration: false config :pleroma, :markup, # XXX - unfortunately, inline images must be enabled by default right now, because @@ -362,8 +361,8 @@ config :pleroma, :suggestions, third_party_engine: "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}", timeout: 300_000, - limit: 23, - web: "https://vinayaka.distsn.org/?{{host}}+{{user}}" + limit: 40, + web: "https://vinayaka.distsn.org" config :pleroma, :http_security, enabled: true, @@ -500,9 +499,15 @@ config :pleroma, :oauth2, config :pleroma, :database, rum_enabled: false +config :pleroma, :env, Mix.env() + config :http_signatures, adapter: Pleroma.Signature +config :pleroma, :rate_limit, + search: [{1000, 10}, {1000, 30}], + app_account_creation: {1_800_000, 25} + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs"