forked from cerc-io/stack-orchestrator
Target reverse_proxy by env.
This commit is contained in:
parent
90d92c3e15
commit
0cd90ad3dc
@ -95,7 +95,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
CERC_ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT:-http://fixturenet-eth-geth-1:8545}
|
CERC_ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT:-http://fixturenet-eth-geth-1:8545}
|
||||||
CERC_NITRO_CHAIN_URL: ${CERC_NITRO_CHAIN_URL:-ws://fixturenet-eth-geth-1:8546}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ../config/go-nitro-auth/caddy/Caddyfile:/etc/caddy/Caddyfile
|
- ../config/go-nitro-auth/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||||
ports:
|
ports:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
uri /auth/{header.x-api-key}
|
uri /auth/{header.x-api-key}
|
||||||
}
|
}
|
||||||
rewrite * /
|
rewrite * /
|
||||||
reverse_proxy https://rpc.sepolia.linea.build:443 {
|
reverse_proxy {$CERC_ETH_RPC_ENDPOINT} {
|
||||||
header_up Host {upstream_hostport}
|
header_up Host {upstream_hostport}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@
|
|||||||
uri /auth/{re.apikey.1}
|
uri /auth/{re.apikey.1}
|
||||||
}
|
}
|
||||||
rewrite * /
|
rewrite * /
|
||||||
reverse_proxy https://rpc.sepolia.linea.build:443 {
|
reverse_proxy {$CERC_ETH_RPC_ENDPOINT} {
|
||||||
header_up Host {upstream_hostport}
|
header_up Host {upstream_hostport}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user