fix
This commit is contained in:
11
nginx-forwarder/default.conf.template
Normal file
11
nginx-forwarder/default.conf.template
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass ${TARGET_URL};
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
15
taiko.yml
15
taiko.yml
@@ -52,6 +52,7 @@ services:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- taiko
|
||||
- taiko-beacon-proxy
|
||||
environment:
|
||||
- "TAIKO_L1_ADDRESS=0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a"
|
||||
- "TAIKO_TOKEN_L1_ADDRESS=0x10dea67478c5F8C5E2D90e5E9B26dBe60c54d800"
|
||||
@@ -59,7 +60,7 @@ services:
|
||||
- "TAIKO_L2_ADDRESS=0x1670000000000000000000000000000000010001"
|
||||
- "L1_ENDPOINT_HTTP=${TAIKO_MAINNET_EXECUTION_RPC}"
|
||||
- "L1_ENDPOINT_WS=${TAIKO_MAINNET_EXECUTION_WS}"
|
||||
- "L1_BEACON_HTTP=${TAIKO_MAINNET_BEACON_REST}"
|
||||
- "L1_BEACON_HTTP=http://taiko-beacon-proxy/"
|
||||
- "L2_CHECKPOINT_SYNC_RPC=https://rpc.mainnet.taiko.xyz"
|
||||
volumes:
|
||||
- taiko:/data/taiko-geth
|
||||
@@ -70,6 +71,18 @@ services:
|
||||
- "/script/start-driver.sh"
|
||||
networks:
|
||||
- chains
|
||||
|
||||
taiko-beacon-proxy:
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 80
|
||||
environment:
|
||||
TARGET_URL: ${TAIKO_MAINNET_BEACON_REST}
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./nginx-forwarder:/etc/nginx/templates
|
||||
|
||||
|
||||
volumes:
|
||||
taiko:
|
||||
|
||||
Reference in New Issue
Block a user