X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.md;h=c843bca5d87b63c35ba68b696f24d7043563a9d7;hb=41ff86ca1d56868d51af0a4411beec4f63fa6ba0;hp=48af1c236287bce8431aec6ed0d922afd18d70bd;hpb=fe67665e19cc98faff4a8ee53a3f4ca4190ca2ef;p=akkoma diff --git a/config/config.md b/config/config.md index 48af1c236..c843bca5d 100644 --- a/config/config.md +++ b/config/config.md @@ -86,3 +86,17 @@ This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:i * ``sts``: Whether to additionally send a `Strict-Transport-Security` header * ``sts_max_age``: The maximum age for the `Strict-Transport-Security` header if sent * ``ct_max_age``: The maximum age for the `Expect-CT` header if sent +* ``referrer_policy``: The referrer policy to use, either `"same-origin"` or `"no-referrer"`. + +## :mrf_user_allowlist + +The keys in this section are the domain names that the policy should apply to. +Each key should be assigned a list of users that should be allowed through by +their ActivityPub ID. + +An example: + +``` +config :pleroma, :mrf_user_allowlist, + "example.org": ["https://example.org/users/admin"] +```