2 alias Pleroma.Docs.Generator
7 {Phoenix.Socket.V1.JSONSerializer, "~> 1.0.0"},
8 {Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}
15 config :pleroma, :config_description, [
20 description: "Upload general settings",
25 description: "Module which will be used for uploads",
26 suggestions: [Pleroma.Uploaders.Local, Pleroma.Uploaders.MDII, Pleroma.Uploaders.S3]
30 type: {:list, :module},
31 description: "List of filter modules for uploads",
33 Generator.list_modules_in_dir(
34 "lib/pleroma/upload/filter",
35 "Elixir.Pleroma.Upload.Filter."
42 "If enabled, a name parameter will be added to the url of the upload. For example `https://instance.tld/media/imagehash.png?name=realname.png`"
47 description: "Base url for the uploads, needed if you use CDN",
49 "https://cdn-host.com"
56 "If enabled, requests to media stored using a remote uploader will be proxied instead of being redirected."
61 description: "Options for Pleroma.ReverseProxy",
63 redirect_on_failure: false,
64 max_body_length: 25 * 1_048_576,
66 follow_redirect: true,
72 key: :redirect_on_failure,
75 "Redirects the client to the real remote URL if there's any HTTP errors. " <>
76 "Any error during body processing will not be redirected as the response is chunked"
79 key: :max_body_length,
82 "limits the content length to be approximately the " <>
83 "specified length. It is validated with the `content-length` header and also verified when proxying"
88 description: "HTTP options",
93 description: "Adapter specific options"
98 type: [:string, :tuple],
99 description: "Proxy URL",
100 suggestions: ["127.0.0.1:8123", {:socks5, :localhost, 9050}]
110 key: Pleroma.Uploaders.Local,
112 description: "Local uploader-related settings",
117 description: "Path where user uploads will be saved",
126 key: Pleroma.Uploaders.S3,
128 description: "S3 uploader-related settings",
133 description: "S3 bucket",
139 key: :bucket_namespace,
141 description: "S3 bucket namespace",
142 suggestions: ["pleroma"]
145 key: :public_endpoint,
147 description: "S3 endpoint",
148 suggestions: ["https://s3.amazonaws.com"]
151 key: :truncated_namespace,
154 "If you use S3 compatible service such as Digital Ocean Spaces or CDN, set folder name or \"\" etc." <>
155 " For example, when using CDN to S3 virtual host format, set \"\". At this time, write CNAME to CDN in public_endpoint."
158 key: :streaming_enabled,
161 "Enable streaming uploads, when enabled the file will be sent to the server in chunks as it's being read. This may be unsupported by some providers, try disabling this if you have upload problems."
167 key: Pleroma.Upload.Filter.Mogrify,
169 description: "Uploads mogrify filter settings",
173 type: [:string, {:list, :string}, {:list, :tuple}],
174 description: "List of actions for the mogrify command",
185 key: Pleroma.Upload.Filter.AnonymizeFilename,
187 description: "Filter replaces the filename of the upload",
193 "Text to replace filenames in links. If no setting, {random}.extension will be used. You can get the original" <>
194 " filename extension by using {extension}, for example custom-file-name.{extension}",
196 "custom-file-name.{extension}"
203 key: Pleroma.Emails.Mailer,
205 description: "Mailer-related settings",
211 "One of the mail adapters listed in [Swoosh readme](https://github.com/swoosh/swoosh#adapters)," <>
212 " or Swoosh.Adapters.Local for in-memory mailbox",
214 Swoosh.Adapters.SMTP,
215 Swoosh.Adapters.Sendgrid,
216 Swoosh.Adapters.Sendmail,
217 Swoosh.Adapters.Mandrill,
218 Swoosh.Adapters.Mailgun,
219 Swoosh.Adapters.Mailjet,
220 Swoosh.Adapters.Postmark,
221 Swoosh.Adapters.SparkPost,
222 Swoosh.Adapters.AmazonSES,
224 Swoosh.Adapters.SocketLabs,
225 Swoosh.Adapters.Gmail
231 description: "Allow/disallow send emails"
234 group: {:subgroup, Swoosh.Adapters.SMTP},
237 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
238 suggestions: ["smtp.gmail.com"]
241 group: {:subgroup, Swoosh.Adapters.SMTP},
244 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
245 suggestions: ["pleroma"]
248 group: {:subgroup, Swoosh.Adapters.SMTP},
251 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
252 suggestions: ["password"]
255 group: {:subgroup, Swoosh.Adapters.SMTP},
259 description: "`Swoosh.Adapters.SMTP` adapter specific setting"
262 group: {:subgroup, Swoosh.Adapters.SMTP},
266 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
267 suggestions: [:always, :never, :if_available]
270 group: {:subgroup, Swoosh.Adapters.SMTP},
273 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
274 suggestions: [:always, :never, :if_available]
277 group: {:subgroup, Swoosh.Adapters.SMTP},
280 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
284 group: {:subgroup, Swoosh.Adapters.SMTP},
287 description: "`Swoosh.Adapters.SMTP` adapter specific setting",
291 group: {:subgroup, Swoosh.Adapters.SMTP},
293 label: "No MX lookups",
295 description: "`Swoosh.Adapters.SMTP` adapter specific setting"
298 group: {:subgroup, Swoosh.Adapters.Sendgrid},
302 description: "`Swoosh.Adapters.Sendgrid` adapter specific setting",
303 suggestions: ["my-api-key"]
306 group: {:subgroup, Swoosh.Adapters.Sendmail},
309 description: "`Swoosh.Adapters.Sendmail` adapter specific setting",
310 suggestions: ["/usr/bin/sendmail"]
313 group: {:subgroup, Swoosh.Adapters.Sendmail},
316 description: "`Swoosh.Adapters.Sendmail` adapter specific setting",
317 suggestions: ["-N delay,failure,success"]
320 group: {:subgroup, Swoosh.Adapters.Sendmail},
323 description: "`Swoosh.Adapters.Sendmail` adapter specific setting"
326 group: {:subgroup, Swoosh.Adapters.Mandrill},
330 description: "`Swoosh.Adapters.Mandrill` adapter specific setting",
331 suggestions: ["my-api-key"]
334 group: {:subgroup, Swoosh.Adapters.Mailgun},
338 description: "`Swoosh.Adapters.Mailgun` adapter specific setting",
339 suggestions: ["my-api-key"]
342 group: {:subgroup, Swoosh.Adapters.Mailgun},
345 description: "`Swoosh.Adapters.Mailgun` adapter specific setting",
346 suggestions: ["pleroma.com"]
349 group: {:subgroup, Swoosh.Adapters.Mailjet},
353 description: "`Swoosh.Adapters.Mailjet` adapter specific setting",
354 suggestions: ["my-api-key"]
357 group: {:subgroup, Swoosh.Adapters.Mailjet},
360 description: "`Swoosh.Adapters.Mailjet` adapter specific setting",
361 suggestions: ["my-secret-key"]
364 group: {:subgroup, Swoosh.Adapters.Postmark},
368 description: "`Swoosh.Adapters.Postmark` adapter specific setting",
369 suggestions: ["my-api-key"]
372 group: {:subgroup, Swoosh.Adapters.SparkPost},
376 description: "`Swoosh.Adapters.SparkPost` adapter specific setting",
377 suggestions: ["my-api-key"]
380 group: {:subgroup, Swoosh.Adapters.SparkPost},
383 description: "`Swoosh.Adapters.SparkPost` adapter specific setting",
384 suggestions: ["https://api.sparkpost.com/api/v1"]
387 group: {:subgroup, Swoosh.Adapters.AmazonSES},
390 description: "`Swoosh.Adapters.AmazonSES` adapter specific setting",
391 suggestions: ["us-east-1", "us-east-2"]
394 group: {:subgroup, Swoosh.Adapters.AmazonSES},
397 description: "`Swoosh.Adapters.AmazonSES` adapter specific setting",
398 suggestions: ["aws-access-key"]
401 group: {:subgroup, Swoosh.Adapters.AmazonSES},
404 description: "`Swoosh.Adapters.AmazonSES` adapter specific setting",
405 suggestions: ["aws-secret-key"]
408 group: {:subgroup, Swoosh.Adapters.Dyn},
412 description: "`Swoosh.Adapters.Dyn` adapter specific setting",
413 suggestions: ["my-api-key"]
416 group: {:subgroup, Swoosh.Adapters.SocketLabs},
419 description: "`Swoosh.Adapters.SocketLabs` adapter specific setting"
422 group: {:subgroup, Swoosh.Adapters.SocketLabs},
426 description: "`Swoosh.Adapters.SocketLabs` adapter specific setting"
429 group: {:subgroup, Swoosh.Adapters.Gmail},
432 description: "`Swoosh.Adapters.Gmail` adapter specific setting"
440 description: "URI schemes related settings",
444 type: {:list, :string},
445 description: "List of the scheme part that is considered valid to be an URL",
469 description: "Instance-related settings",
474 description: "Name of the instance",
482 description: "Email used to reach an Administrator/Moderator of the instance",
490 description: "Email used for notifications",
498 description: "The instance's description, can be seen in nodeinfo and /api/v1/instance",
506 description: "Posts character limit (CW/Subject included in the counter)",
514 description: "Hard character limit beyond which remote posts will be dropped",
522 description: "File size limit of uploads (except for avatar, background, banner)",
528 key: :avatar_upload_limit,
530 description: "File size limit of user's profile avatars",
536 key: :background_upload_limit,
538 description: "File size limit of user's profile backgrounds",
544 key: :banner_upload_limit,
546 description: "File size limit of user's profile banners",
554 description: "A map with poll limits for local polls",
558 max_option_chars: 200,
560 max_expiration: 31_536_000
567 description: "Maximum number of options",
571 key: :max_option_chars,
573 description: "Maximum number of characters per option",
577 key: :min_expiration,
579 description: "Minimum expiration time (in seconds)",
583 key: :max_expiration,
585 description: "Maximum expiration time (in seconds)",
591 key: :registrations_open,
593 description: "Enable registrations for anyone, invitations can be enabled when false"
596 key: :invites_enabled,
598 description: "Enable user invitations for admins (depends on registrations_open: false)"
601 key: :account_activation_required,
603 description: "Require users to confirm their emails before signing in"
608 description: "Enable federation with other instances"
611 key: :federation_incoming_replies_max_depth,
614 "Max. depth of reply-to activities fetching on incoming federation, to prevent out-of-memory situations while" <>
615 " fetching very long threads. If set to nil, threads of any depth will be fetched. Lower this value if you experience out-of-memory crashes",
621 key: :federation_reachability_timeout_days,
624 "Timeout (in days) of each external federation target being unreachable prior to pausing federating to it",
630 key: :federation_publisher_modules,
631 type: {:list, :module},
632 description: "List of modules for federation publishing",
634 Pleroma.Web.ActivityPub.Publisher
640 description: "Enable Pleroma's Relay, which makes it possible to follow a whole instance"
643 key: :rewrite_policy,
644 type: [:module, {:list, :module}],
645 description: "A list of MRF policies enabled",
647 Generator.list_modules_in_dir(
648 "lib/pleroma/web/activity_pub/mrf",
649 "Elixir.Pleroma.Web.ActivityPub.MRF."
656 "Makes the client API in authentificated mode-only except for user-profiles." <>
657 " Useful for disabling the Local Timeline and The Whole Known Network"
660 key: :quarantined_instances,
661 type: {:list, :string},
663 "List of ActivityPub instances where private(DMs, followers-only) activities will not be send",
670 key: :managed_config,
673 "Whenether the config for pleroma-fe is configured in this config or in static/config.json"
678 description: "Instance static directory",
684 key: :allowed_post_formats,
685 type: {:list, :string},
686 description: "MIME-type list of formats allowed to be posted (transformed into HTML)",
697 key: :mrf_transparency,
698 label: "MRF transparency",
701 "Make the content of your Message Rewrite Facility settings public (via nodeinfo)"
704 key: :mrf_transparency_exclusions,
705 label: "MRF transparency exclusions",
706 type: {:list, :string},
708 "Exclude specific instance names from MRF transparency. The use of the exclusions feature will be disclosed in nodeinfo as a boolean value",
714 key: :extended_nickname_format,
717 "Set to true to use extended local nicknames format (allows underscores/dashes)." <>
718 " This will break federation with older software for theses nicknames"
721 key: :max_pinned_statuses,
723 description: "The maximum number of pinned statuses. 0 will disable the feature",
731 key: :autofollowed_nicknames,
732 type: {:list, :string},
734 "Set to nicknames of (local) users that every new user should automatically follow",
743 key: :no_attachment_links,
746 "Set to true to disable automatically adding attachment link text to statuses"
749 key: :welcome_message,
752 "A message that will be send to a newly registered users as a direct message",
754 "Hi, @username! Welcome on board!"
758 key: :welcome_user_nickname,
760 description: "The nickname of the local user that sends the welcome message",
766 key: :max_report_comment_size,
768 description: "The maximum size of the report comment (Default: 1000)",
774 key: :safe_dm_mentions,
777 "If set to true, only mentions at the beginning of a post will be used to address people in direct messages." <>
778 " This is to prevent accidental mentioning of people when talking about them (e.g. \"@friend hey i really don't like @enemy\")." <>
784 description: "If set to true, system data will be shown on /api/pleroma/healthcheck"
787 key: :remote_post_retention_days,
790 "The default amount of days to retain remote posts when pruning the database",
796 key: :user_bio_length,
798 description: "A user bio maximum length (default: 5000)",
804 key: :user_name_length,
806 description: "A user name maximum length (default: 100)",
812 key: :skip_thread_containment,
814 description: "Skip filter out broken threads. The default is true"
817 key: :limit_to_local_content,
818 type: [:atom, false],
820 "Limit unauthenticated users to search for local statutes and users only. The default is :unauthenticated ",
828 key: :dynamic_configuration,
831 "Allow transferring configuration to DB with the subsequent customization from Admin api. Defaults to `false`"
834 key: :max_account_fields,
836 description: "The maximum number of custom fields in the user profile (default: 10)",
842 key: :max_remote_account_fields,
845 "The maximum number of custom fields in the remote user profile (default: 20)",
851 key: :account_field_name_length,
853 description: "An account field name maximum length (default: 512)",
859 key: :account_field_value_length,
861 description: "An account field value maximum length (default: 2048)",
867 key: :external_user_synchronization,
869 description: "Enabling following/followers counters synchronization for external users"
876 description: "Logger-related settings",
880 type: [:atom, :tuple, :module],
882 "Where logs will be send, :console - send logs to stdout, {ExSyslogger, :ex_syslogger} - to syslog, Quack.Logger - to Slack.",
883 suggestions: [:console, {ExSyslogger, :ex_syslogger}, Quack.Logger]
891 description: "ExSyslogger-related settings",
896 description: "Log level",
897 suggestions: [:debug, :info, :warn, :error]
903 "A string that's prepended to every message, and is typically set to the app name",
904 suggestions: ["pleroma"]
909 description: "It defaults to \"$date $time [$level] $levelpad$node $metadata $message\"",
910 suggestions: ["$metadata[$level] $message"]
914 type: {:list, :atom},
915 suggestions: [:request_id]
923 description: "Console logger settings",
928 description: "Log level",
929 suggestions: [:debug, :info, :warn, :error]
934 description: "It defaults to \"$date $time [$level] $levelpad$node $metadata $message\"",
935 suggestions: ["$metadata[$level] $message"]
939 type: {:list, :atom},
940 suggestions: [:request_id]
947 description: "Quack-related settings",
952 description: "Log level",
953 suggestions: [:debug, :info, :warn, :error]
957 type: {:list, :atom},
958 description: "Configure which metadata you want to report on",
976 description: "Configure the Slack incoming webhook",
977 suggestions: ["https://hooks.slack.com/services/YOUR-KEY-HERE"]
983 key: :frontend_configurations,
986 "This form can be used to configure a keyword list that keeps the configuration data for any " <>
987 "kind of frontend. By default, settings for pleroma_fe and masto_fe are configured. If you want to " <>
988 "add your own configuration your settings need to be complete as they will override the defaults.",
994 description: "Settings for Pleroma FE",
997 theme: "pleroma-dark",
998 logo: "/static/logo.png",
999 background: "/images/city.jpg",
1000 redirectRootNoLogin: "/main/all",
1001 redirectRootLogin: "/main/friends",
1002 showInstanceSpecificPanel: true,
1003 scopeOptionsEnabled: false,
1004 formattingOptionsEnabled: false,
1005 collapseMessageWithSubject: false,
1006 hidePostStats: false,
1007 hideUserStats: false,
1009 subjectLineBehavior: "email",
1010 alwaysShowSubjectInput: true
1017 description: "Which theme to use, they are defined in styles.json",
1018 suggestions: ["pleroma-dark"]
1023 description: "URL of the logo, defaults to Pleroma's logo",
1024 suggestions: ["/static/logo.png"]
1030 "URL of the background, unless viewing a user profile with a background that is set",
1031 suggestions: ["/images/city.jpg"]
1034 key: :redirectRootNoLogin,
1035 label: "Redirect root no login",
1038 "relative URL which indicates where to redirect when a user isn't logged in",
1039 suggestions: ["/main/all"]
1042 key: :redirectRootLogin,
1043 label: "Redirect root login",
1046 "relative URL which indicates where to redirect when a user is logged in",
1047 suggestions: ["/main/friends"]
1050 key: :showInstanceSpecificPanel,
1051 label: "Show instance specific panel",
1053 description: "Whenether to show the instance's specific panel"
1056 key: :scopeOptionsEnabled,
1057 label: "Scope options enabled",
1059 description: "Enable setting an notice visibility and subject/CW when posting"
1062 key: :formattingOptionsEnabled,
1063 label: "Formatting options enabled",
1066 "Enable setting a formatting different than plain-text (ie. HTML, Markdown) when posting, relates to :instance, allowed_post_formats"
1069 key: :collapseMessageWithSubject,
1070 label: "Collapse message with subject",
1073 "When a message has a subject(aka Content Warning), collapse it by default"
1076 key: :hidePostStats,
1077 label: "Hide post stats",
1079 description: "Hide notices statistics(repeats, favorites, ...)"
1082 key: :hideUserStats,
1083 label: "Hide user stats",
1086 "Hide profile statistics(posts, posts per day, followers, followings, ...)"
1090 label: "Scope copy",
1092 description: "Copy the scope (private/unlisted/public) in replies to posts by default"
1095 key: :subjectLineBehavior,
1096 label: "Subject line behavior",
1098 description: "Allows changing the default behaviour of subject lines in replies.
1099 `email`: Copy and preprend re:, as in email,
1100 `masto`: Copy verbatim, as in Mastodon,
1101 `noop`: Don't copy the subjec",
1102 suggestions: ["email", "masto", "noop"]
1105 key: :alwaysShowSubjectInput,
1106 label: "Always show subject input",
1108 description: "When set to false, auto-hide the subject field when it's empty"
1116 description: "Settings for Masto FE",
1119 showInstanceSpecificPanel: true
1124 key: :showInstanceSpecificPanel,
1125 label: "Show instance specific panel",
1127 description: "Whenether to show the instance's specific panel"
1138 "This section configures assets to be used with various frontends. Currently the only option relates to mascots on the mastodon frontend",
1142 type: {:keyword, :map},
1144 "Keyword of mascots, each element MUST contain both a url and a mime_type key",
1147 url: "/images/pleroma-fox-tan-smol.png",
1148 mime_type: "image/png"
1150 pleroma_fox_tan_shy: %{
1151 url: "/images/pleroma-fox-tan-shy.png",
1152 mime_type: "image/png"
1157 key: :default_mascot,
1160 "This will be used as the default mascot on MastoFE (default: :pleroma_fox_tan)",
1172 "This section describe PWA manifest instance-specific values. Currently this option relate only for MastoFE",
1176 type: {:list, :map},
1177 description: "Describe the icons of the app",
1180 src: "/static/logo.png"
1183 src: "/static/icon.png",
1187 src: "/static/icon.ico",
1188 sizes: "72x72 96x96 128x128 256x256"
1195 description: "Describe the theme color of the app",
1196 suggestions: ["#282c37", "mediumpurple"]
1199 key: :background_color,
1201 description: "Describe the background color of the app",
1202 suggestions: ["#191b22", "aliceblue"]
1209 label: "MRF simple",
1211 description: "Message Rewrite Facility",
1214 key: :media_removal,
1215 type: {:list, :string},
1216 description: "List of instances to remove medias from",
1217 suggestions: ["example.com", "*.example.com"]
1221 label: "Media NSFW",
1222 type: {:list, :string},
1223 description: "List of instances to put medias as NSFW(sensitive) from",
1224 suggestions: ["example.com", "*.example.com"]
1227 key: :federated_timeline_removal,
1228 type: {:list, :string},
1230 "List of instances to remove from Federated (aka The Whole Known Network) Timeline",
1231 suggestions: ["example.com", "*.example.com"]
1235 type: {:list, :string},
1236 description: "List of instances to reject any activities from",
1237 suggestions: ["example.com", "*.example.com"]
1241 type: {:list, :string},
1242 description: "List of instances to accept any activities from",
1243 suggestions: ["example.com", "*.example.com"]
1246 key: :report_removal,
1247 type: {:list, :string},
1248 description: "List of instances to reject reports from",
1249 suggestions: ["example.com", "*.example.com"]
1252 key: :avatar_removal,
1253 type: {:list, :string},
1254 description: "List of instances to strip avatars from",
1255 suggestions: ["example.com", "*.example.com"]
1258 key: :banner_removal,
1259 type: {:list, :string},
1260 description: "List of instances to strip banners from",
1261 suggestions: ["example.com", "*.example.com"]
1268 label: "MRF subchain",
1271 "This policy processes messages through an alternate pipeline when a given message matches certain criteria." <>
1272 " All criteria are configured as a map of regular expressions to lists of policy modules.",
1277 description: "Matches a series of regular expressions against the actor field",
1280 ~r/https:\/\/example.com/s => [Pleroma.Web.ActivityPub.MRF.DropPolicy]
1288 key: :mrf_rejectnonpublic,
1290 "MRF RejectNonPublic settings. RejectNonPublic drops posts with non-public visibility settings.",
1291 label: "MRF reject non public",
1295 key: :allow_followersonly,
1296 label: "Allow followers-only",
1298 description: "whether to allow followers-only posts"
1303 description: "whether to allow direct messages"
1309 key: :mrf_hellthread,
1310 label: "MRF hellthread",
1312 description: "Block messages with too much mentions",
1315 key: :delist_threshold,
1318 "Number of mentioned users after which the message gets delisted (the message can still be seen, " <>
1319 " but it will not show up in public timelines and mentioned users won't get notifications about it). Set to 0 to disable",
1323 key: :reject_threshold,
1326 "Number of mentioned users after which the messaged gets rejected. Set to 0 to disable",
1334 label: "MRF keyword",
1336 description: "Reject or Word-Replace messages with a keyword or regex",
1340 type: [:string, :regex],
1342 "A list of patterns which result in message being rejected, each pattern can be a string or a regular expression",
1343 suggestions: ["foo", ~r/foo/iu]
1346 key: :federated_timeline_removal,
1347 type: [:string, :regex],
1349 "A list of patterns which result in message being removed from federated timelines (a.k.a unlisted), each pattern can be a string or a regular expression",
1350 suggestions: ["foo", ~r/foo/iu]
1354 type: [{:tuple, :string, :string}, {:tuple, :regex, :string}],
1356 "A list of tuples containing {pattern, replacement}, pattern can be a string or a regular expression.",
1357 suggestions: [{"foo", "bar"}, {~r/foo/iu, "bar"}]
1364 label: "MRF mention",
1366 description: "Block messages which mention a user",
1370 type: {:list, :string},
1371 description: "A list of actors, for which to drop any posts mentioning",
1372 suggestions: ["actor1", "actor2"]
1378 key: :mrf_vocabulary,
1379 label: "MRF vocabulary",
1381 description: "Filter messages which belong to certain activity vocabularies",
1385 type: {:list, :string},
1387 "A list of ActivityStreams terms to accept. If empty, all supported messages are accepted",
1388 suggestions: ["Create", "Follow", "Mention", "Announce", "Like"]
1392 type: {:list, :string},
1394 "A list of ActivityStreams terms to reject. If empty, no messages are rejected",
1395 suggestions: ["Create", "Follow", "Mention", "Announce", "Like"]
1401 # key: :mrf_user_allowlist,
1404 # "The keys in this section are the domain names that the policy should apply to." <>
1405 # " Each key should be assigned a list of users that should be allowed through by their ActivityPub ID",
1407 # ["example.org": ["https://example.org/users/admin"]],
1409 # ["example.org": ["https://example.org/users/admin"]]
1417 description: "Media proxy",
1422 description: "Enables proxying of remote media to the instance's proxy"
1428 "The base URL to access a user-uploaded file. Useful when you want to proxy the media files via another host/CDN fronts",
1429 suggestions: ["https://example.com"]
1434 description: "Options for Pleroma.ReverseProxy",
1436 redirect_on_failure: false,
1437 max_body_length: 25 * 1_048_576,
1439 follow_redirect: true,
1445 key: :redirect_on_failure,
1448 "Redirects the client to the real remote URL if there's any HTTP errors. " <>
1449 "Any error during body processing will not be redirected as the response is chunked"
1452 key: :max_body_length,
1455 "limits the content length to be approximately the " <>
1456 "specified length. It is validated with the `content-length` header and also verified when proxying"
1461 description: "HTTP options",
1466 description: "Adapter specific options"
1471 type: [:string, :tuple],
1472 description: "Proxy URL",
1473 suggestions: ["127.0.0.1:8123", {:socks5, :localhost, 9050}]
1481 type: {:list, :string},
1482 description: "List of domains to bypass the mediaproxy",
1483 suggestions: ["example.com"]
1491 description: "Gopher settings",
1496 description: "Enables the gopher interface"
1501 description: "IP address to bind to",
1502 suggestions: [{0, 0, 0, 0}]
1507 description: "Port to bind to",
1513 description: "Port advertised in urls (optional, defaults to port)",
1520 key: Pleroma.Web.Endpoint,
1522 description: "Phoenix endpoint configuration",
1527 type: {:keyword, :integer, :tuple},
1528 description: "http protocol configuration",
1536 type: {:list, :tuple},
1537 description: "dispatch settings",
1541 {"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
1542 {"/websocket", Phoenix.Endpoint.CowboyWebSocket,
1543 {Phoenix.Transports.WebSocket,
1544 {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
1545 {:_, Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}
1547 # end copied from config.exs
1562 description: "port",
1572 type: {:keyword, :string, :integer},
1573 description: "configuration for generating urls",
1575 host: "example.com",
1583 description: "Host",
1591 description: "port",
1599 description: "Scheme",
1608 key: :instrumenters,
1609 type: {:list, :module},
1610 suggestions: [Pleroma.Web.Endpoint.Instrumenter]
1615 suggestions: ["https"]
1618 key: :secret_key_base,
1620 suggestions: ["aK4Abxf29xU9TTDKre9coZPUgevcVCFQJe/5xP/7Lt4BEif6idBIbjupVbOrbKxl"]
1625 suggestions: ["CqaoopA2"]
1628 key: :render_errors,
1630 suggestions: [view: Pleroma.Web.ErrorView, accepts: ~w(json)],
1635 suggestions: [Pleroma.Web.ErrorView]
1639 type: {:list, :string},
1640 suggestions: ["json"]
1647 suggestions: [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2],
1652 suggestions: [Pleroma.PubSub]
1657 suggestions: [Phoenix.PubSub.PG2]
1662 key: :secure_cookie_flag,
1666 key: :extra_cookie_attrs,
1667 type: {:list, :string},
1668 suggestions: ["SameSite=Lax"]
1676 description: "ActivityPub-related settings",
1679 key: :unfollow_blocked,
1681 description: "Whether blocks result in people getting unfollowed"
1684 key: :outgoing_blocks,
1686 description: "Whether to federate blocks to other instances"
1689 key: :sign_object_fetches,
1691 description: "Sign object fetches with HTTP signatures"
1694 key: :follow_handshake_timeout,
1696 description: "Following handshake timeout",
1703 key: :http_security,
1705 description: "HTTP security settings",
1710 description: "Whether the managed content security policy is enabled"
1716 description: "Whether to additionally send a Strict-Transport-Security header"
1720 label: "STS max age",
1722 description: "The maximum age for the Strict-Transport-Security header if sent",
1723 suggestions: [31_536_000]
1727 label: "CT max age",
1729 description: "The maximum age for the Expect-CT header if sent",
1730 suggestions: [2_592_000]
1733 key: :referrer_policy,
1735 description: "The referrer policy to use, either \"same-origin\" or \"no-referrer\"",
1736 suggestions: ["same-origin", "no-referrer"]
1740 label: "Report URI",
1742 description: "Adds the specified url to report-uri and report-to group in CSP header",
1743 suggestions: ["https://example.com/report-uri"]
1748 group: :web_push_encryption,
1749 key: :vapid_details,
1752 "Web Push Notifications configuration. You can use the mix task mix web_push.gen.keypair to generate it",
1758 "a mailto link for the administrative contact." <>
1759 " It's best if this email is not a personal email address, but rather a group email so that if a person leaves an organization," <>
1760 " is unavailable for an extended period, or otherwise can't respond, someone else on the list can",
1761 suggestions: ["Subject"]
1766 description: "VAPID public key",
1767 suggestions: ["Public key"]
1772 description: "VAPID private keyn",
1773 suggestions: ["Private key"]
1779 key: Pleroma.Captcha,
1781 description: "Captcha-related settings",
1786 description: "Whether the captcha should be shown on registration"
1791 description: "The method/service to use for captcha",
1792 suggestions: [Pleroma.Captcha.Kocaptcha]
1795 key: :seconds_valid,
1797 description: "The time in seconds for which the captcha is valid",
1804 key: Pleroma.Captcha.Kocaptcha,
1807 "Kocaptcha is a very simple captcha service with a single API endpoint, the source code is" <>
1808 " here: https://github.com/koto-bank/kocaptcha. The default endpoint https://captcha.kotobank.ch is hosted by the developer",
1813 description: "the kocaptcha endpoint to use",
1814 suggestions: ["https://captcha.kotobank.ch"]
1822 "Allows to set a token that can be used to authenticate with the admin api without using an actual user by giving it as the 'admin_token' parameter",
1827 description: "Token",
1828 suggestions: ["some_random_token"]
1833 group: :pleroma_job_queue,
1836 description: "[Deprecated] Replaced with `Oban`/`:queues` (keeping the same format)"
1840 key: Pleroma.Web.Federator.RetryQueue,
1842 description: "[Deprecated] See `Oban` and `:workers` sections for configuration notes",
1847 description: "[Deprecated] Replaced as `Oban`/`:queues`/`:outgoing_federation` value"
1856 [Oban](https://github.com/sorentwo/oban) asynchronous job processor configuration.
1858 Note: if you are running PostgreSQL in [`silent_mode`](https://postgresqlco.nf/en/doc/param/silent_mode?version=9.1),
1859 it's advised to set [`log_destination`](https://postgresqlco.nf/en/doc/param/log_destination?version=9.1) to `syslog`,
1860 otherwise `postmaster.log` file may grow because of "you don't own a lock of type ShareLock" warnings
1861 (see https://github.com/sorentwo/oban/issues/52).
1867 description: "Application's Ecto repo",
1868 suggestions: [Pleroma.Repo]
1873 description: "Logs verbose mode"
1877 type: [:atom, :tuple],
1879 "Non-retryable jobs [pruning settings](https://github.com/sorentwo/oban#pruning)",
1880 suggestions: [:disabled, {:maxlen, 1500}, {:maxage, 60 * 60}]
1884 type: {:keyword, :integer},
1886 "Background jobs queues (keys: queues, values: max numbers of concurrent jobs)",
1888 activity_expiration: 10,
1890 federator_incoming: 50,
1891 federator_outgoing: 50,
1893 scheduled_activities: 10,
1899 key: :activity_expiration,
1901 description: "Activity expiration queue",
1907 description: "Background queue",
1911 key: :federator_incoming,
1913 description: "Incoming federation queue",
1917 key: :federator_outgoing,
1919 description: "Outgoing federation queue",
1925 description: "Email sender queue, see Pleroma.Emails.Mailer",
1929 key: :scheduled_activities,
1931 description: "Scheduled activities queue, see Pleroma.ScheduledActivities",
1935 key: :transmogrifier,
1937 description: "Transmogrifier queue",
1943 description: "Web push notifications queue",
1954 description: "Includes custom worker options not interpretable directly by `Oban`",
1958 type: {:keyword, :integer},
1959 description: "Max retry attempts for failed jobs, per `Oban` queue",
1962 federator_incoming: 5,
1963 federator_outgoing: 5
1971 key: Pleroma.Web.Metadata,
1973 description: "Metadata-related settings",
1977 type: {:list, :module},
1978 description: "List of metadata providers to enable",
1980 Pleroma.Web.Metadata.Providers.OpenGraph,
1981 Pleroma.Web.Metadata.Providers.TwitterCard,
1982 Pleroma.Web.Metadata.Providers.RelMe
1987 label: "Unfurl NSFW",
1989 description: "If set to true nsfw attachments will be shown in previews"
1998 "If enabled the instance will parse metadata from attached links to generate link previews.",
2003 description: "Enables/disables RichMedia."
2007 type: {:list, :string},
2008 description: "List of hosts which will be ignored by the metadata parser.",
2009 suggestions: ["accounts.google.com", "xss.website"]
2013 label: "Ignore TLD",
2014 type: {:list, :string},
2015 description: "List TLDs (top-level domains) which will ignore for parse metadata.",
2016 suggestions: ["local", "localdomain", "lan"]
2020 type: {:list, :module},
2021 description: "List of Rich Media parsers.",
2023 Pleroma.Web.RichMedia.Parsers.MetaTagsParser,
2024 Pleroma.Web.RichMedia.Parsers.OEmbed,
2025 Pleroma.Web.RichMedia.Parsers.OGP,
2026 Pleroma.Web.RichMedia.Parsers.TwitterCard
2031 label: "TTL setters",
2032 type: {:list, :module},
2033 description: "List of rich media ttl setters.",
2035 Pleroma.Web.RichMedia.Parser.TTL.AwsSignedUrl
2042 key: :fetch_initial_posts,
2044 description: "Fetching initial posts settings",
2050 "if enabled, when a new user is federated with, fetch some of their latest posts"
2055 description: "the amount of pages to fetch",
2061 group: :auto_linker,
2064 description: "Configuration for the auto_linker library",
2068 type: [:string, false],
2069 description: "specify the class to be added to the generated link. false to clear",
2070 suggestions: ["auto-linker", false]
2074 type: [:string, false],
2075 description: "override the rel attribute. false to clear",
2076 suggestions: ["ugc", "noopener noreferrer", false]
2081 description: "set to false to remove target='_blank' attribute"
2086 description: "Set to true to link urls with schema http://google.com"
2090 type: [:integer, false],
2092 "Set to a number to truncate urls longer then the number. Truncated urls will end in `..`",
2093 suggestions: [15, false]
2098 description: "Strip the scheme prefix"
2103 description: "link urls with rarely used schemes (magnet, ipfs, irc, etc.)"
2109 key: Pleroma.ScheduledActivity,
2111 description: "Scheduled activities settings",
2114 key: :daily_user_limit,
2117 "the number of scheduled activities a user is allowed to create in a single day (Default: 25)",
2121 key: :total_user_limit,
2124 "the number of scheduled activities a user is allowed to create in total (Default: 300)",
2130 description: "whether scheduled activities are sent to the job queue to be executed"
2136 key: Pleroma.ActivityExpiration,
2138 description: "Expired activity settings",
2143 description: "whether expired activities will be sent to the job queue to be deleted"
2150 description: "Authenticator",
2153 key: Pleroma.Web.Auth.Authenticator,
2155 suggestions: [Pleroma.Web.Auth.PleromaAuthenticator, Pleroma.Web.Auth.LDAPAuthenticator]
2164 "Use LDAP for user authentication. When a user logs in to the Pleroma instance, the name and password" <>
2165 " will be verified by trying to authenticate (bind) to an LDAP server." <>
2166 " If a user exists in the LDAP directory but there is no account with the same name yet on the" <>
2167 " Pleroma instance then a new Pleroma account will be created with the same name as the LDAP user name.",
2172 description: "enables LDAP authentication"
2177 description: "LDAP server hostname",
2178 suggestions: ["localhosts"]
2183 description: "LDAP port, e.g. 389 or 636",
2184 suggestions: [389, 636]
2190 description: "true to use SSL, usually implies the port 636"
2194 label: "SSL options",
2196 description: "additional SSL options",
2197 suggestions: [cacertfile: "path/to/file/with/PEM/cacerts", verify: :verify_peer],
2202 description: "Path to file with PEM encoded cacerts",
2203 suggestions: ["path/to/file/with/PEM/cacerts"]
2208 description: "Type of cert verification",
2209 suggestions: [:verify_peer]
2217 description: "true to start TLS, usually implies the port 389"
2221 label: "TLS options",
2223 description: "additional TLS options",
2224 suggestions: [cacertfile: "path/to/file/with/PEM/cacerts", verify: :verify_peer],
2229 description: "Path to file with PEM encoded cacerts",
2230 suggestions: ["path/to/file/with/PEM/cacerts"]
2235 description: "Type of cert verification",
2236 suggestions: [:verify_peer]
2243 description: "LDAP base, e.g. \"dc=example,dc=com\"",
2244 suggestions: ["dc=example,dc=com"]
2250 "LDAP attribute name to authenticate the user, e.g. when \"cn\", the filter will be \"cn=username,base\"",
2259 description: "Authentication / authorization settings",
2262 key: :enforce_oauth_admin_scope_usage,
2265 "OAuth admin scope requirement toggle. " <>
2266 "If `true`, admin actions explicitly demand admin OAuth scope(s) presence in OAuth token " <>
2267 "(client app must support admin scopes). If `false` and token doesn't have admin scope(s)," <>
2268 "`is_admin` user flag grants access to admin-specific actions."
2271 key: :auth_template,
2274 "authentication form template. By default it's show.html which corresponds to lib/pleroma/web/templates/o_auth/o_auth/show.html.ee",
2275 suggestions: ["show.html"]
2278 key: :oauth_consumer_template,
2281 "OAuth consumer mode authentication form template. By default it's consumer.html which corresponds to" <>
2282 " lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex",
2283 suggestions: ["consumer.html"]
2286 key: :oauth_consumer_strategies,
2287 type: {:list, :string},
2289 "the list of enabled OAuth consumer strategies; by default it's set by OAUTH_CONSUMER_STRATEGIES environment variable." <>
2290 " Each entry in this space-delimited string should be of format <strategy> or <strategy>:<dependency>" <>
2291 " (e.g. twitter or keycloak:ueberauth_keycloak_strategy in case dependency is named differently than ueberauth_<strategy>).",
2292 suggestions: ["twitter", "keycloak:ueberauth_keycloak_strategy"]
2298 key: :email_notifications,
2300 description: "Email notifications settings",
2306 "emails of \"what you've missed\" for users who have been inactive for a while",
2310 schedule: "0 0 * * 0",
2312 inactivity_threshold: 7
2319 description: "globally enable or disable digest emails"
2325 "When to send digest email, in crontab format. \"0 0 0\" is the default, meaning \"once a week at midnight on Sunday morning\"",
2326 suggestions: ["0 0 * * 0"]
2331 description: "Minimum interval between digest emails to one user",
2335 key: :inactivity_threshold,
2337 description: "Minimum user inactivity threshold",
2346 key: Pleroma.Emails.UserEmail,
2348 description: "Email template settings",
2353 description: "a path to a custom logo. Set it to nil to use the default Pleroma logo",
2354 suggestions: ["some/path/logo.png"]
2359 description: "a map with color settings for email templates.",
2362 link_color: "#d8a070",
2363 background_color: "#2C3645",
2364 content_background_color: "#1B2635",
2365 header_color: "#d8a070",
2366 text_color: "#b9b9ba",
2367 text_muted_color: "#b9b9ba"
2374 suggestions: ["#d8a070"]
2377 key: :background_color,
2379 suggestions: ["#2C3645"]
2382 key: :content_background_color,
2384 suggestions: ["#1B2635"]
2389 suggestions: ["#d8a070"]
2394 suggestions: ["#b9b9ba"]
2397 key: :text_muted_color,
2399 suggestions: ["#b9b9ba"]
2409 description: "Configure OAuth 2 provider capabilities",
2412 key: :token_expires_in,
2414 description: "The lifetime in seconds of the access token",
2418 key: :issue_new_refresh_token,
2421 "Keeps old refresh token or generate new refresh token when to obtain an access token"
2424 key: :clean_expired_tokens,
2426 description: "Enable a background job to clean expired oauth tokens. Defaults to false"
2429 key: :clean_expired_tokens_interval,
2432 "Interval to run the job to clean expired tokens. Defaults to 86_400_000 (24 hours).",
2433 suggestions: [86_400_000]
2443 key: :shortcode_globs,
2444 type: {:list, :string},
2445 description: "Location of custom emoji files. * can be used as a wildcard",
2446 suggestions: ["/emoji/custom/**/*.png"]
2449 key: :pack_extensions,
2450 type: {:list, :string},
2452 "A list of file extensions for emojis, when no emoji.txt for a pack is present",
2453 suggestions: [".png", ".gif"]
2457 type: {:keyword, :string, {:list, :string}},
2459 "Emojis are ordered in groups (tags). This is an array of key-value pairs where the key is the groupname" <>
2460 " and the value the location or array of locations. * can be used as a wildcard",
2462 # Put groups that have higher priority than defaults here. Example in `docs/config/custom_emoji.md`
2463 Custom: ["/emoji/*.png", "/emoji/**/*.png"]
2467 key: :default_manifest,
2470 "Location of the JSON-manifest. This manifest contains information about the emoji-packs you can download." <>
2471 " Currently only one manifest can be added (no arrays)",
2472 suggestions: ["https://git.pleroma.social/pleroma/emoji-index/raw/master/index.json"]
2475 key: :shared_pack_cache_seconds_per_file,
2478 "When an emoji pack is shared, the archive is created and cached in memory" <>
2479 " for this amount of seconds multiplied by the number of files.",
2488 description: "Database related settings",
2493 description: "If RUM indexes should be used. Defaults to false"
2502 "Rate limit settings. This is an advanced feature enabled only for :authentication by default.",
2506 type: [:tuple, {:list, :tuple}],
2507 description: "for the search requests (account & status search etc.)",
2508 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2511 key: :app_account_creation,
2512 type: [:tuple, {:list, :tuple}],
2513 description: "for registering user accounts from the same IP address",
2514 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2517 key: :relations_actions,
2518 type: [:tuple, {:list, :tuple}],
2519 description: "for actions on relations with all users (follow, unfollow)",
2520 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2523 key: :relation_id_action,
2524 type: [:tuple, {:list, :tuple}],
2525 description: "for actions on relation with a specific user (follow, unfollow)",
2526 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2529 key: :statuses_actions,
2530 type: [:tuple, {:list, :tuple}],
2532 "for create / delete / fav / unfav / reblog / unreblog actions on any statuses",
2533 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2536 key: :status_id_action,
2537 type: [:tuple, {:list, :tuple}],
2539 "for fav / unfav or reblog / unreblog actions on the same status by the same user",
2540 suggestions: [{1000, 10}, [{10_000, 10}, {10_000, 50}]]
2543 key: :authentication,
2544 type: [:tuple, {:list, :tuple}],
2545 description: "for authentication create / password check / user existence check requests",
2546 suggestions: [{60_000, 15}]
2554 "Before enabling this you must add :esshd to mix.exs as one of the extra_applications " <>
2555 "and generate host keys in your priv dir with ssh-keygen -m PEM -N \"\" -b 2048 -t rsa -f ssh_host_rsa_key",
2560 description: "Enables ssh"
2565 description: "Dir with ssh keys",
2566 suggestions: ["/some/path/ssh_keys"]
2571 description: "Handler module",
2572 suggestions: ["Pleroma.BBS.Handler"]
2577 description: "Port to connect",
2578 suggestions: [10_022]
2581 key: :password_authenticator,
2583 description: "Authenticator module",
2584 suggestions: ["Pleroma.BBS.Authenticator"]
2591 description: "Mime types",
2598 "application/xml" => ["xml"],
2599 "application/xrd+xml" => ["xrd+xml"],
2600 "application/jrd+json" => ["jrd+json"],
2601 "application/activity+json" => ["activity+json"],
2602 "application/ld+json" => ["activity+json"]
2607 key: "application/xml",
2608 type: {:list, :string},
2609 suggestions: ["xml"]
2612 key: "application/xrd+xml",
2613 type: {:list, :string},
2614 suggestions: ["xrd+xml"]
2617 key: "application/jrd+json",
2618 type: {:list, :string},
2619 suggestions: ["jrd+json"]
2622 key: "application/activity+json",
2623 type: {:list, :string},
2624 suggestions: ["activity+json"]
2627 key: "application/ld+json",
2628 type: {:list, :string},
2629 suggestions: ["activity+json"]
2638 description: "Tesla settings",
2643 description: "Tesla adapter",
2644 suggestions: [Tesla.Adapter.Hackney]
2652 description: "Pleroma chat settings",
2668 description: "Enables suggestions"
2671 key: :third_party_engine,
2673 description: "URL for third party engine",
2675 "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}"
2681 description: "Request timeout to third party engine",
2682 suggestions: [300_000]
2687 description: "Limit for suggestions",
2693 suggestions: ["https://vinayaka.distsn.org"]
2699 key: Pleroma.Web.Endpoint.MetricsExporter,
2701 description: "Prometheus settings",
2706 description: "API endpoint with metrics",
2707 suggestions: ["/api/pleroma/app_metrics"]
2712 group: :http_signatures,
2714 description: "HTTP Signatures settings",
2719 suggestions: [Pleroma.Signature]
2725 key: Pleroma.Uploaders.MDII,
2727 "Uploader for https://github.com/hakaba-hitoyo/minimal-digital-image-infrastructure",
2733 suggestions: ["https://mdii.sakura.ne.jp/mdii-post.cgi"]
2738 suggestions: ["https://mdii.sakura.ne.jp"]
2746 description: "HTTP settings",
2751 type: [:string, :tuple],
2752 description: "Proxy URL",
2753 suggestions: ["localhost:9020", {:socks5, :localhost, 3090}]
2756 key: :send_user_agent,
2762 description: "Adapter specific options",
2773 key: :allow_inline_images,
2777 key: :allow_headings,
2790 type: {:list, :module},
2791 suggestions: [Pleroma.HTML.Transform.MediaProxy, Pleroma.HTML.Scrubber.Default]
2801 key: :deny_follow_blocked,
2808 key: :mrf_normalize_markup,
2809 label: "MRF normalize markup",
2810 description: "MRF NormalizeMarkup settings. Scrub configured hypertext markup.",
2816 suggestions: [Pleroma.HTML.Scrubber.Default]
2826 key: :restricted_nicknames,
2827 type: {:list, :string},
2846 "ostatus_subscribe",
2870 suggestions: [86_400]
2874 type: {:list, :string},
2875 suggestions: ["POST", "PUT", "DELETE", "GET", "PATCH", "OPTIONS"]
2879 type: {:list, :string},
2882 "X-RateLimit-Reset",
2883 "X-RateLimit-Limit",
2884 "X-RateLimit-Remaining",
2895 type: {:list, :string},
2896 suggestions: ["Authorization", "Content-Type", "Idempotency-Key"]
2902 key: Pleroma.Plugs.RemoteIp,
2905 `Pleroma.Plugs.RemoteIp` is a shim to call [`RemoteIp`](https://git.pleroma.social/pleroma/remote_ip) but with runtime configuration.
2906 **If your instance is not behind at least one reverse proxy, you should not enable this plug.**
2912 description: "Enable/disable the plug. Defaults to `false`."
2916 type: {:list, :string},
2918 "A list of strings naming the `req_headers` to use when deriving the `remote_ip`. Order does not matter. Defaults to `~w[forwarded x-forwarded-for x-client-ip x-real-ip]`."
2922 type: {:list, :string},
2924 "A list of strings in [CIDR](https://en.wikipedia.org/wiki/CIDR) notation specifying the IPs of known proxies. Defaults to `[]`."
2928 type: {:list, :string},
2930 "Defaults to [localhost](https://en.wikipedia.org/wiki/Localhost) and [private network](https://en.wikipedia.org/wiki/Private_network)."
2936 key: :web_cache_ttl,
2939 "The expiration time for the web responses cache. Values should be in milliseconds or `nil` to disable expiration.",
2945 "activity pub routes (except question activities). Defaults to `nil` (no expiration).",
2946 suggestions: [30_000]
2949 key: :activity_pub_question,
2952 "activity pub routes (question activities). Defaults to `30_000` (30 seconds).",
2953 suggestions: [30_000]