generate example config
This commit is contained in:
parent
81a797945b
commit
5fdb33e2c0
2 changed files with 13 additions and 1 deletions
|
@ -1160,6 +1160,8 @@
|
||||||
# Vector list of servers that conduwuit will refuse to download remote
|
# Vector list of servers that conduwuit will refuse to download remote
|
||||||
# media from.
|
# media from.
|
||||||
#
|
#
|
||||||
|
# This is in addition to `forbidden_remote_server_names`.
|
||||||
|
#
|
||||||
#prevent_media_downloads_from = []
|
#prevent_media_downloads_from = []
|
||||||
|
|
||||||
# List of forbidden server names that we will block incoming AND outgoing
|
# List of forbidden server names that we will block incoming AND outgoing
|
||||||
|
@ -1169,14 +1171,24 @@
|
||||||
# sender user's server name, inbound federation X-Matrix origin, and
|
# sender user's server name, inbound federation X-Matrix origin, and
|
||||||
# outbound federation handler.
|
# outbound federation handler.
|
||||||
#
|
#
|
||||||
|
# Additionally, it will hide messages from these servers for all users
|
||||||
|
# on this server.
|
||||||
|
#
|
||||||
# Basically "global" ACLs.
|
# Basically "global" ACLs.
|
||||||
#
|
#
|
||||||
#forbidden_remote_server_names = []
|
#forbidden_remote_server_names = []
|
||||||
|
|
||||||
|
# The inverse of `forbidden_remote_server_names`. By default, allows all
|
||||||
|
# servers. `forbidden_remote_server_names` takes precedence.
|
||||||
|
#
|
||||||
|
#allowed_remote_server_names = []
|
||||||
|
|
||||||
# List of forbidden server names that we will block all outgoing federated
|
# List of forbidden server names that we will block all outgoing federated
|
||||||
# room directory requests for. Useful for preventing our users from
|
# room directory requests for. Useful for preventing our users from
|
||||||
# wandering into bad servers or spaces.
|
# wandering into bad servers or spaces.
|
||||||
#
|
#
|
||||||
|
# This is in addition to `forbidden_remote_server_names`.
|
||||||
|
#
|
||||||
#forbidden_remote_room_directory_server_names = []
|
#forbidden_remote_room_directory_server_names = []
|
||||||
|
|
||||||
# Vector list of IPv4 and IPv6 CIDR ranges / subnets *in quotes* that you
|
# Vector list of IPv4 and IPv6 CIDR ranges / subnets *in quotes* that you
|
||||||
|
|
|
@ -1347,7 +1347,7 @@ pub struct Config {
|
||||||
pub forbidden_remote_server_names: HashSet<OwnedServerName>,
|
pub forbidden_remote_server_names: HashSet<OwnedServerName>,
|
||||||
|
|
||||||
/// The inverse of `forbidden_remote_server_names`. By default, allows all
|
/// The inverse of `forbidden_remote_server_names`. By default, allows all
|
||||||
/// servers. `forbidden_remote_server_names` takes precidence.
|
/// servers. `forbidden_remote_server_names` takes precedence.
|
||||||
///
|
///
|
||||||
/// default: []
|
/// default: []
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue