Annotate
mod_s2s_whitelist/README.markdown @ 3336:4af114684e0a
mod_http_index: Allow listed modules to include a friendlier name
Example:
```
module:provides("http", {
name = "demo";
title = "Demo HTTP Module";
route = {
GET = function() return "Hello"; end;
};
});
```
author |
Kim Alvefur <zash@zash.se> |
date |
Thu, 27 Sep 2018 17:13:10 +0200 |
parent |
3155:6e5bde0879ad |
child |
5184:313937349fbc |
rev |
line source |
3155
|
1 This module lets you block connections to any remote servers not on a
|
|
2 whitelist.
|
|
3
|
|
4 ``` {.lua}
|
|
5 s2s_whitelist = {
|
|
6 "example.org",
|
|
7 }
|
|
8 ```
|