feat: complete Epic 1 production foundation
This commit is contained in:
1 parent
767428436d
commit
182bde8ac0
298 files changed
+35711
-5291
No files matched your search
@@ -78,7 +78,7 @@ macro_rules! f {
|
||||
};
|
||||
}
|
||||
|
||||
static FIELDS: [FieldSpec; 57] = [
|
||||
static FIELDS: [FieldSpec; 59] = [
|
||||
FieldSpec {
|
||||
compatibility: Some("legacy URL form"),
|
||||
rules: &[
|
||||
@@ -222,7 +222,7 @@ static FIELDS: [FieldSpec; 57] = [
|
||||
"secret",
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(32),
|
||||
None,
|
||||
Secret
|
||||
)
|
||||
@@ -317,6 +317,17 @@ static FIELDS: [FieldSpec; 57] = [
|
||||
Internal
|
||||
)
|
||||
},
|
||||
f!(
|
||||
"outbound.max_request_bytes",
|
||||
"CRANK_OUTBOUND_MAX_REQUEST_BYTES",
|
||||
Shared,
|
||||
"u64",
|
||||
Some("bytes"),
|
||||
Some("4194304"),
|
||||
Some(1),
|
||||
Some(67108864),
|
||||
Public
|
||||
),
|
||||
f!(
|
||||
"outbound.max_response_bytes",
|
||||
"CRANK_OUTBOUND_MAX_RESPONSE_BYTES",
|
||||
@@ -636,19 +647,37 @@ static FIELDS: [FieldSpec; 57] = [
|
||||
Public
|
||||
),
|
||||
FieldSpec {
|
||||
compatibility: Some("yes/no/on/off spellings are deprecated"),
|
||||
mode: FieldMode::DeprecatedNoEffect,
|
||||
compatibility: Some("deprecated boolean proxy trust; use CRANK_TRUSTED_PROXY_IPS"),
|
||||
..f!(
|
||||
"admin.trust_forwarded_headers",
|
||||
"CRANK_TRUST_FORWARDED_HEADERS",
|
||||
AdminApi,
|
||||
"bool",
|
||||
None,
|
||||
Some("false"),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Public
|
||||
)
|
||||
},
|
||||
FieldSpec {
|
||||
rules: &[
|
||||
"only listed immediate peer IPs may supply X-Real-IP/X-Forwarded-For client identity",
|
||||
"empty value disables forwarded-header trust",
|
||||
],
|
||||
..f!(
|
||||
"admin.trusted_proxy_ips",
|
||||
"CRANK_TRUSTED_PROXY_IPS",
|
||||
AdminApi,
|
||||
"ip_list",
|
||||
None,
|
||||
Some(""),
|
||||
None,
|
||||
None,
|
||||
Internal
|
||||
)
|
||||
},
|
||||
FieldSpec {
|
||||
required: true,
|
||||
..f!(
|
||||
@@ -664,7 +693,7 @@ static FIELDS: [FieldSpec; 57] = [
|
||||
)
|
||||
},
|
||||
FieldSpec {
|
||||
required: true,
|
||||
compatibility: Some("deprecated startup-bootstrap password; use local bootstrap contract"),
|
||||
..f!(
|
||||
"admin.bootstrap.password",
|
||||
"CRANK_BOOTSTRAP_ADMIN_PASSWORD",
|
||||
|
||||
Reference in new issue
Block a user