Target reverse_proxy by env.
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 44s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m34s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m28s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 10m2s
Smoke Test / Run basic test suite (pull_request) Successful in 5m13s

This commit is contained in:
Thomas E Lackey 2024-04-04 14:32:12 -05:00
parent 90d92c3e15
commit 0cd90ad3dc
2 changed files with 34 additions and 35 deletions

View File

@ -95,7 +95,6 @@ services:
restart: always
environment:
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:
- ../config/go-nitro-auth/caddy/Caddyfile:/etc/caddy/Caddyfile
ports:

View File

@ -13,7 +13,7 @@
uri /auth/{header.x-api-key}
}
rewrite * /
reverse_proxy https://rpc.sepolia.linea.build:443 {
reverse_proxy {$CERC_ETH_RPC_ENDPOINT} {
header_up Host {upstream_hostport}
}
}
@ -27,7 +27,7 @@
uri /auth/{re.apikey.1}
}
rewrite * /
reverse_proxy https://rpc.sepolia.linea.build:443 {
reverse_proxy {$CERC_ETH_RPC_ENDPOINT} {
header_up Host {upstream_hostport}
}
}