extend --ws.origins value to be same as rpc
Defaulting to `localhost` might be causing issues when `nim-waku` nodes are trying to connect. For some reason there's no clear error like with RPC. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c2f7fac2a0
commit
4583821179
|
@ -48,7 +48,7 @@ geth_websocket_enabled: true
|
|||
geth_websocket_addr: '127.0.0.1'
|
||||
geth_websocket_port: '{{ geth_rpc_port + 1 | int }}'
|
||||
geth_websocket_api: 'eth,net,web3,personal,admin,engine'
|
||||
geth_websocket_origins: 'localhost'
|
||||
geth_websocket_origins: '{{ geth_rpc_vhosts }}'
|
||||
|
||||
# Engine API
|
||||
geth_authrpc_enabled: true
|
||||
|
|
|
@ -69,7 +69,7 @@ services:
|
|||
--ws.addr=0.0.0.0
|
||||
--ws.port={{ geth_websocket_port }}
|
||||
--ws.api={{ geth_websocket_api }}
|
||||
--ws.origins='{{ geth_websocket_origins }}'
|
||||
--ws.origins={{ geth_websocket_origins | sort | join(",") }}
|
||||
{% endif %}
|
||||
{% if geth_authrpc_enabled %}
|
||||
--authrpc.addr=0.0.0.0
|
||||
|
|
Loading…
Reference in New Issue