Software / code / prosody-modules
File
mod_s2s_whitelist/README.markdown @ 4918:347e34c3c7e2
mod_rest: Improve error handling during format mapping
Prevents e.g. a nil, error return going directly into e.g. json
encoding, resulting in "null" being returned.
Further handling improvements down the line is needed.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 07 Apr 2022 17:49:08 +0200 |
| parent | 3155:6e5bde0879ad |
| child | 5184: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", } ```