Skip to content

Commit

Permalink
fix: ws url and confs
Browse files Browse the repository at this point in the history
  • Loading branch information
parketh committed Oct 23, 2024
1 parent 9de96e1 commit 395819f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/l2-explorer/envs/common-blockscout.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ NETWORK=Ethereum
SUBNETWORK=${L2_CHAIN_NAME}
MIX_ENV=prod
LOGO=/images/blockscout_logo.svg
ETHEREUM_JSONRPC_WS_URL=ws://${L2_RPC_URL}
ETHEREUM_JSONRPC_WS_URL=wss://${L2_RPC_URL#https://}
# ETHEREUM_JSONRPC_FALLBACK_WS_URL=
# ETHEREUM_JSONRPC_WS_RETRY_INTERVAL=
ETHEREUM_JSONRPC_TRANSPORT=https
Expand Down
3 changes: 2 additions & 1 deletion configs/l2-explorer/proxy/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ map $http_upgrade $connection_upgrade {
}

map $http_x_forwarded_proto $redirect_to_https {
https off;
https off;
http on;
default on;
}

Expand Down

0 comments on commit 395819f

Please sign in to comment.