Skip to content

Commit be4baa9

Browse files
authored
docs: clarify SOMEGUY_HTTP_BLOCK_PROVIDER_ENDPOINTS
1 parent 1e063a1 commit be4baa9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/environment-variables.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ Comma-separated list of [HTTP trustless gateway](https://specs.ipfs.tech/http-ga
8484

8585
When the configured gateway responds with HTTP 200 to an HTTP HEAD request for a block (`HEAD /ipfs/{cid}?format=raw`), `FindProviders` returns a provider record containing a PeerID from `SOMEGUY_HTTP_BLOCK_PROVIDER_PEERIDS` and the HTTP gateway endpoint as a multiaddr with `/tls/http` suffix.
8686

87+
> [!IMPORTANT]
88+
> When creating a synthetic `/routing/v1` for your gateway, and not a general-purpose routing endpoint, set `SOMEGUY_DHT=disabled` and `SOMEGUY_PROVIDER_ENDPOINTS=""` to disable default DHT and HTTP routers and exclusively use the explicitly defined `SOMEGUY_HTTP_BLOCK_PROVIDER_ENDPOINTS`.
89+
8790
Default: none
8891

8992
### `SOMEGUY_HTTP_BLOCK_PROVIDER_PEERIDS`

0 commit comments

Comments
 (0)