Skip to content

Commit 6f63426

Browse files
committed
Update docs
1 parent 3bcd734 commit 6f63426

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/environment-variables.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- [`ROUTING_IGNORE_PROVIDERS`](#routing_ignore_providers)
2020
- [`RAINBOW_HTTP_RETRIEVAL_ENABLE`](#rainbow_http_retrieval_enable)
2121
- [`RAINBOW_HTTP_RETRIEVAL_ALLOWLIST`](#rainbow_http_retrieval_allowlist)
22+
- [`RAINBOW_HTTP_RETRIEVAL_DENYLIST`](#rainbow_http_retrieval_denylist)
2223
- [`RAINBOW_HTTP_RETRIEVAL_WORKERS`](#rainbow_http_retrieval_workers)
2324
- [Experiments](#experiments)
2425
- [`RAINBOW_SEED_PEERING`](#rainbow_seed_peering)
@@ -186,8 +187,21 @@ Comma-separated list of hostnames that are allowed for HTTP retrievals.
186187

187188
When HTTP retrieval is enabled, this setting limits HTTP retrievals to only the specified hostnames. This provides a way to restrict which gateways Rainbow will attempt to retrieve blocks from.
188189

190+
Example: `example.com,ipfs.example.com`
191+
189192
Default: not set (when HTTP retrieval is enabled, all hosts are allowed)
190193

194+
### `RAINBOW_HTTP_RETRIEVAL_DENYLIST`
195+
196+
Comma-separated list of hostnames that are allowed for HTTP retrievals.
197+
198+
When HTTP retrieval is enabled, this setting disables retrieval from the specified hostnames. This provides a way to restrict specific hostnames that should not be used for retrieval.
199+
200+
Example: `example.com,ipfs.example.com`
201+
202+
Default: not set (when HTTP retrieval is enabled, all no hosts are disabled)
203+
204+
191205
### `RAINBOW_HTTP_RETRIEVAL_WORKERS`
192206

193207
The number of concurrent worker threads to use for HTTP retrievals.

0 commit comments

Comments
 (0)