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
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- taiko
|
- taiko
|
||||||
|
- taiko-beacon-proxy
|
||||||
environment:
|
environment:
|
||||||
- "TAIKO_L1_ADDRESS=0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a"
|
- "TAIKO_L1_ADDRESS=0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a"
|
||||||
- "TAIKO_TOKEN_L1_ADDRESS=0x10dea67478c5F8C5E2D90e5E9B26dBe60c54d800"
|
- "TAIKO_TOKEN_L1_ADDRESS=0x10dea67478c5F8C5E2D90e5E9B26dBe60c54d800"
|
||||||
@@ -59,7 +60,7 @@ services:
|
|||||||
- "TAIKO_L2_ADDRESS=0x1670000000000000000000000000000000010001"
|
- "TAIKO_L2_ADDRESS=0x1670000000000000000000000000000000010001"
|
||||||
- "L1_ENDPOINT_HTTP=${TAIKO_MAINNET_EXECUTION_RPC}"
|
- "L1_ENDPOINT_HTTP=${TAIKO_MAINNET_EXECUTION_RPC}"
|
||||||
- "L1_ENDPOINT_WS=${TAIKO_MAINNET_EXECUTION_WS}"
|
- "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"
|
- "L2_CHECKPOINT_SYNC_RPC=https://rpc.mainnet.taiko.xyz"
|
||||||
volumes:
|
volumes:
|
||||||
- taiko:/data/taiko-geth
|
- taiko:/data/taiko-geth
|
||||||
@@ -70,6 +71,18 @@ services:
|
|||||||
- "/script/start-driver.sh"
|
- "/script/start-driver.sh"
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- 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:
|
volumes:
|
||||||
taiko:
|
taiko:
|
||||||
|
|||||||
Reference in New Issue
Block a user