view mod_s2s_whitelist/README.markdown @ 3724:1c3c7d73c5a6

mod_register_web: Fix to use real client IP in case of proxy forwarding (thanks Sebastian) mod_http since Prosody 0.11 will process the `X-Forwarded-For` header and store the result in `request.ip`.
author Kim Alvefur <zash@zash.se>
date Fri, 01 Nov 2019 17:15:29 +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",
}
```