fix and improve web push; add configuration docs
[akkoma] / config / config.md
index 165f5d9f8c8256d61c6844bff6f85208a9c825e8..2401e9aedd6ffe92bc31626dc2efef5e2240d1e4 100644 (file)
@@ -154,3 +154,11 @@ An example:
 config :pleroma, :mrf_user_allowlist,
   "example.org": ["https://example.org/users/admin"]
 ```
+
+## :web_push_encryption
+
+Web Push Notifications configuration. You could use a mix task `mix web_push.gen.keypair` to generate it.
+
+* ``subject``: a mailto link for the administrative contact. 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, is unavailable for an extended period, or otherwise can’t respond, someone else on the list can.
+* ``public_key``: VAPID public key
+* ``private_key``: VAPID private key