Skip to content

Commit

Permalink
Merge pull request #308 from eosnetworkfoundation/yarkin/nginx_block_…
Browse files Browse the repository at this point in the history
…debug

Block buggy debug calls in nginx
  • Loading branch information
yarkinwho authored Nov 4, 2024
2 parents 2cb9731 + 6482cbf commit 944b7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peripherals/proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ http {
set $proxy "read";
set $jsonrpc_write_calls 'eth_sendRawTransaction,eth_gasPrice';
set $jsonrpc_read_calls 'net_version,eth_blockNumber,eth_chainId,eth_protocolVersion,eth_getBlockByHash,eth_getBlockByNumber,eth_getBlockTransactionCountByHash,eth_getBlockTransactionCountByNumber,eth_getUncleByBlockHashAndIndex,eth_getUncleByBlockNumberAndIndex,eth_getUncleCountByBlockHash,eth_getUncleCountByBlockNumber,eth_getTransactionByHash,eth_getRawTransactionByHash,eth_getTransactionByBlockHashAndIndex,eth_getRawTransactionByBlockHashAndIndex,eth_getTransactionByBlockNumberAndIndex,eth_getRawTransactionByBlockNumberAndIndex,eth_getTransactionReceipt,eth_getBlockReceipts,eth_estimateGas,eth_getBalance,eth_getCode,eth_getTransactionCount,eth_getStorageAt,eth_call,eth_callBundle,eth_createAccessList';
set $jsonrpc_test_calls 'eth_getLogs,debug_traceBlockByHash,debug_traceBlockByNumber,debug_traceTransaction,debug_traceCall,debug_traceCallMany,trace_call,trace_callMany,trace_rawTransaction,trace_replayBlockTransactions,trace_replayTransaction,trace_block,trace_filter,trace_get,trace_transaction';
set $jsonrpc_test_calls 'eth_getLogs,trace_call,trace_callMany,trace_rawTransaction,trace_replayBlockTransactions,trace_replayTransaction,trace_block,trace_filter,trace_get,trace_transaction';
access_by_lua_file 'eth-jsonrpc-access.lua';
proxy_pass http://$proxy;
proxy_set_header content-type "application/json";
Expand Down

0 comments on commit 944b7bc

Please sign in to comment.