Skip to content

Commit 626d659

Browse files
committed
feat: update docs
1 parent 12d3424 commit 626d659

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/vocs/docs/pages/cli/reth/node.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,15 @@ RPC:
307307
--http.corsdomain <HTTP_CORSDOMAIN>
308308
Http Corsdomain to allow request from
309309
310+
--http.rpcprefix <HTTP_RPCPREFIX>
311+
HTTP path prefix for JSON-RPC endpoint
312+
313+
Sets a custom path prefix for all HTTP RPC requests. By default, the server accepts requests at the root path "/". This option allows serving RPC requests under a custom path, for example "/rpc".
314+
315+
Example: --http.rpcprefix /custom/path
316+
317+
[default: /]
318+
310319
--ws
311320
Enable the WS-RPC server
312321
@@ -328,6 +337,15 @@ RPC:
328337
329338
[possible values: admin, debug, eth, net, trace, txpool, web3, rpc, reth, ots, flashbots, miner, mev]
330339
340+
--ws.rpcprefix <WS_RPCPREFIX>
341+
`WebSocket` path prefix for JSON-RPC endpoint
342+
343+
Sets a custom path prefix for all `WebSocket` RPC requests. By default, the server accepts requests at the root path "/". This option allows serving RPC requests under a custom path, for example "/ws".
344+
345+
Example: --ws.rpcprefix /custom/path
346+
347+
[default: /]
348+
331349
--ipcdisable
332350
Disable the IPC-RPC server
333351

0 commit comments

Comments
 (0)