view mod_s2s_whitelist/README.markdown @ 3793:0d3926e49b55

mod_pubsub_post: Fix use of 'id' field in JSON object as pubsub item id `data` here is the source string, so there's no `id` field. Also only use the `id` field if it's a string.
author Kim Alvefur <zash@zash.se>
date Wed, 01 Jan 2020 10:11:08 +0100
parents 6e5bde0879ad
children 313937349fbc
line wrap: on
line source

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

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