mod_s2s_whitelist/README.markdown
author Kim Alvefur <zash@zash.se>
Wed, 13 Mar 2024 23:45:25 +0100
changeset 5872 bdcb61275afe
parent 5188 313937349fbc
permissions -rw-r--r--
mod_rest: Fix incorrect 'type' in mapping schema for XEP-0100

This module lets you block connections to any remote servers not on a
whitelist.

``` {.lua}
modules_enabled = {
    -- other modules --
    "s2s_whitelist",

}
s2s_whitelist = {
    "example.org",
}
```