view mod_s2s_whitelist/README.markdown @ 3562:b33b2fbdc713

mod_net_proxy: Ensure port numbers are coerced into numbers LuaSocket likes to use strings for port numbers for some reason, so this might help with some type related problems.
author Kim Alvefur <zash@zash.se>
date Fri, 12 Apr 2019 21:44:29 +0200
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",
}
```