mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
Add alternative resolver path with passthru cache-characteristics. (resolves #158)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
2e13e87e43
commit
248d778290
3 files changed
+60
-6
No files matched your search
@@ -366,6 +366,18 @@ pub struct Config {
|
||||
#[serde(default = "default_ip_lookup_strategy")]
|
||||
pub ip_lookup_strategy: u8,
|
||||
|
||||
/// List of domain patterns resolved via the alternative path without any
|
||||
/// persistent cache, very small memory cache, and no enforced TTL. This
|
||||
/// is intended for internal network and application services which require
|
||||
/// these specific properties. This path does not support federation or
|
||||
/// general purposes.
|
||||
///
|
||||
/// example: ["*\.dns\.podman$"]
|
||||
///
|
||||
/// default: []
|
||||
#[serde(default, with = "serde_regex")]
|
||||
pub dns_passthru_domains: RegexSet,
|
||||
|
||||
/// Max request size for file uploads in bytes. Defaults to 20MB.
|
||||
///
|
||||
/// default: 20971520
|
||||
|
||||
Reference in new issue
Block a user