1786
|
1 |
#summary Limit which file transfer users can use |
|
2 |
#labels Stage-Alpha |
|
3 |
|
|
4 |
= Introduction = |
|
5 |
|
|
6 |
This module attempts to restrict use of non-whitelisted XEP-0065 proxies. |
|
7 |
|
|
8 |
= Configuration = |
|
9 |
|
|
10 |
Without any options, the module will restrict users to local [https://prosody.im/doc/modules/mod_proxy65 proxy65 components]. |
|
11 |
|
|
12 |
{{{ |
|
13 |
-- additional proxies to allow |
|
14 |
allowed_streamhosts = { "proxy.eu.jabber.org" } |
|
15 |
}}} |
|
16 |
|
|
17 |
The module will add all local proxies to that list. To prevent it from doing that, set |
|
18 |
{{{ |
|
19 |
allow_local_streamhosts = false |
|
20 |
}}} |