pub struct ExtrasConfig {Show 17 fields
pub conneg_enabled: Option<bool>,
pub cors_allowed_origins: Vec<String>,
pub max_body_size_bytes: Option<u64>,
pub max_acl_bytes: Option<u64>,
pub rate_limit_writes_per_min: Option<u64>,
pub subdomains_enabled: Option<bool>,
pub base_domain: Option<String>,
pub idp_enabled: Option<bool>,
pub invite_only: Option<bool>,
pub admin_key: Option<String>,
pub activitypub_enabled: Option<bool>,
pub ap_username: Option<String>,
pub ap_display_name: Option<String>,
pub ap_summary: Option<String>,
pub ap_nostr_pubkey: Option<String>,
pub trust_proxy: Option<bool>,
pub did_nostr_origins: Vec<String>,
}Expand description
Flat bag for operator-facing knobs not yet promoted to a typed
section. Each field is #[serde(default)] + skip_serializing_if so
a pristine ExtrasConfig serialises to an empty object.
Fields§
§conneg_enabled: Option<bool>JSS_CONNEG — content-negotiation toggle. Default off until
promoted to its own typed section.
cors_allowed_origins: Vec<String>JSS_CORS_ALLOWED_ORIGINS — CSV list. Empty vec means unset.
max_body_size_bytes: Option<u64>JSS_MAX_BODY_SIZE / JSS_MAX_REQUEST_BODY — bytes.
max_acl_bytes: Option<u64>JSS_MAX_ACL_BYTES — bytes.
rate_limit_writes_per_min: Option<u64>JSS_RATE_LIMIT_WRITES_PER_MIN.
subdomains_enabled: Option<bool>JSS_SUBDOMAINS — enable subdomain multi-tenancy.
base_domain: Option<String>JSS_BASE_DOMAIN — authoritative base domain when subdomains
are on.
idp_enabled: Option<bool>JSS_IDP_ENABLED — local IdP service toggle.
invite_only: Option<bool>JSS_INVITE_ONLY — restrict new pod registration.
admin_key: Option<String>JSS_ADMIN_KEY — operator override token. Never serialise to
telemetry; this serde pass is solely for config reload symmetry.
activitypub_enabled: Option<bool>JSS_ACTIVITYPUB — enable ActivityPub federation (JSS
config.js 79, 185). Needs the server’s activitypub feature.
ap_username: Option<String>JSS_AP_USERNAME — ActivityPub preferredUsername (default me).
ap_display_name: Option<String>JSS_AP_DISPLAY_NAME — ActivityPub display name.
ap_summary: Option<String>JSS_AP_SUMMARY — ActivityPub bio.
ap_nostr_pubkey: Option<String>JSS_AP_NOSTR_PUBKEY — hex pubkey linked as alsoKnownAs
did:nostr:<pk> on the actor.
trust_proxy: Option<bool>JSS_TRUST_PROXY — honour X-Forwarded-Proto / cf-visitor for
the request scheme. Default off.
did_nostr_origins: Vec<String>JSS_DID_NOSTR_ORIGINS — CSV of origins whose
/.well-known/did/nostr/<pk>.json documents may link a Nostr key to
a WebID (cross-identity). Empty means local profile only.