Add config option for dns passthru for appservices. (#158)

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-09-10 01:17:40 +00:00
1 parent a9f1926654
commit bf8aa57d03
4 files changed
+41 -5

No files matched your search

+7
View File
@@ -378,6 +378,13 @@ pub struct Config {
#[serde(default, with = "serde_regex")]
pub dns_passthru_domains: RegexSet,
/// Whether to resolve appservices via the alternative path; setting this is
/// superior to providing domains in `dns_passthru_domains` if all
/// appservices intend to be matched anyway. The overhead of matching regex
/// and maintaining the list of domains can be avoided.
#[serde(default)]
pub dns_passthru_appservices: bool,
/// Max request size for file uploads in bytes. Defaults to 20MB.
///
/// default: 20971520