Mercurial > prosody-modules
view mod_nodeinfo2/README.markdown @ 4629:0e60ce83205c
mod_s2s_keepalive: Ignore errors from the local server
If a stanza can't be delivered and instead an bounce is generated, the
origin of the error, when different from the stanza 'from' should be
indicated in the 'by' attribute of the <error>, which we look for here
so this doesn't count as a successful ping.
An error that does come from the remote means we have connectivity, but
probably no XEP-0199 handling. This is fine. We care about connectivity,
not protocol.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 21 Jul 2021 15:57:13 +0200 |
parents | bac3dae031ee |
children | 694b62d8a82f |
line wrap: on
line source
--- description: labels: 'Stage-Alpha' --- Introduction ============ This module exposes a [nodeinfo2](https://git.feneas.org/jaywink/nodeinfo2) .well-known URL for use e.g. from [the-federation.info](https://the-federation.info). Configuration ============= Enable the `nodeinfo` module in your global `modules_enabled` section: ``` modules_enabled = { ... "nodeinfo2" ... } ``` Set the `nodeinfo2_expose_users` option to false if you don’t want to expose statistics about the amount of users you host: ``` nodeinfo2_expose_users = false ``` Set the `nodeinfo2_expose_posts` option to false if you don’t want to expose statistics about the amount of messages being exchanged by your users: ``` nodeinfo2_expose_posts = false ``` This module depends on [mod\_lastlog](https://modules.prosody.im/mod_lastlog.html) to calculate user activity, and [mod\_http](https://prosody.im/doc/http). Most of its configuration actually happens in this dependency. Compatibility ============= ------- -------------------- trunk Does not work [^1] 0.11 Should work ------- -------------------- [^1]: not after [5f15ab7c6ae5](https://hg.prosody.im/trunk/rev/5f15ab7c6ae5)