# HG changeset patch # User Matthew Wild # Date 1673721098 0 # Node ID 9032143bad0848efd7f98acc362eefe36ae64e95 # Parent a8df4d2447d098e472a77a81e5630a06a946be83 mod_unified_push: Update docs to recommend loading on normal hosts diff -r a8df4d2447d0 -r 9032143bad08 mod_unified_push/README.md --- a/mod_unified_push/README.md Sat Jan 14 17:59:40 2023 +0000 +++ b/mod_unified_push/README.md Sat Jan 14 18:31:38 2023 +0000 @@ -78,7 +78,25 @@ servers). For more information on configuring HTTP services in Prosody, see [Prosody HTTP documentation](https://prosody.im/doc/http). -### Example configuration +#### Example configuration + +##### Normal method + +Just add just add `"unified_push"` to your `modules_enabled` option. +This is the easiest and **recommended** configuration. + +``` {.lua} + modules_enabled = { + --- + "unified_push"; + --- + } +``` + +##### Component method + +This is an example of how to configure the module as an internal component, +e.g. on a subdomain or other non-user domain. This example creates a push notification component called 'notify.example.com'.