fix and improve web push; add configuration docs

This commit is contained in:
Egor Kislitsyn 2018-12-07 15:55:28 +07:00 committed by href
commit 658edb166f
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
4 changed files with 32 additions and 19 deletions

View 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. Its 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 cant respond, someone else on the list can.
* ``public_key``: VAPID public key
* ``private_key``: VAPID private key