mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Add config option for dns passthru for appservices. (#158)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
a9f1926654
commit
bf8aa57d03
4 files changed
+41
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user