-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking change - traefik files to avoid host header attacks on unsus…
…pecting users
- Loading branch information
1 parent
ce477a6
commit 2833c75
Showing
20 changed files
with
56 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# To be used in conjunction with lodestar.yml, nimbus.yml, teku.yml, lighthouse.yml or prysm.yml, ditto their | ||
# -cl-only.yml versions | ||
# For remote validator setups only. Please be very cautious when exposing your consensus API port | ||
version: "3.9" | ||
services: | ||
execution: | ||
labels: | ||
- traefik.enable=true | ||
- traefik.http.routers.${CL_HOST:-cl}.service=${CL_HOST:-cl} | ||
- traefik.http.routers.${CL_HOST:-cl}.entrypoints=websecure | ||
- traefik.http.routers.${CL_HOST:-cl}.rule=Host(`${CL_HOST:-cl}.${DOMAIN}`) | ||
- traefik.http.routers.${CL_HOST:-cl}.tls.certresolver=letsencrypt | ||
- traefik.http.routers.${CL_HOST:-cl}lb.service=${CL_HOST:-cl} | ||
- traefik.http.routers.${CL_HOST:-cl}lb.entrypoints=websecure | ||
- traefik.http.routers.${CL_HOST:-cl}lb.rule=Host(`${CL_LB:-cl-lb}.${DOMAIN}`) | ||
- traefik.http.routers.${CL_HOST:-cl}lb.tls.certresolver=letsencrypt | ||
- traefik.http.services.${CL_HOST:-cl}.loadbalancer.server.port=${CL_REST_PORT:-5052} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml, reth.yml or geth.yml | ||
# For distributed setups only. Please be very cautious when exposing your engine port | ||
version: "3.9" | ||
services: | ||
execution: | ||
labels: | ||
- traefik.enable=true | ||
- traefik.http.routers.${EE_HOST:-ee}.service=${EE_HOST:-ee} | ||
- traefik.http.routers.${EE_HOST:-ee}.entrypoints=websecure | ||
- traefik.http.routers.${EE_HOST:-ee}.rule=Host(`${EE_HOST:-ee}.${DOMAIN}`) | ||
- traefik.http.routers.${EE_HOST:-ee}.tls.certresolver=letsencrypt | ||
- traefik.http.services.${EE_HOST:-ee}.loadbalancer.server.port=${EE_PORT:-8551} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml, reth.yml or geth.yml | ||
version: "3.9" | ||
services: | ||
execution: | ||
labels: | ||
- traefik.enable=true | ||
- traefik.http.routers.${EL_HOST:-el}.service=${EL_HOST:-el} | ||
- traefik.http.routers.${EL_HOST:-el}.entrypoints=websecure | ||
- traefik.http.routers.${EL_HOST:-el}.rule=Host(`${EL_HOST:-el}.${DOMAIN}`) | ||
- traefik.http.routers.${EL_HOST:-el}.tls.certresolver=letsencrypt | ||
- traefik.http.routers.${EL_HOST:-el}lb.service=${EL_HOST:-el} | ||
- traefik.http.routers.${EL_HOST:-el}lb.entrypoints=websecure | ||
- traefik.http.routers.${EL_HOST:-el}lb.rule=Host(`${EL_LB:-el-lb}.${DOMAIN}`) | ||
- traefik.http.routers.${EL_HOST:-el}lb.tls.certresolver=letsencrypt | ||
- traefik.http.services.${EL_HOST:-el}.loadbalancer.server.port=${EL_RPC_PORT:-8545} | ||
- traefik.http.routers.${EL_WS_HOST:-elws}.service=${EL_WS_HOST:-elws} | ||
- traefik.http.routers.${EL_WS_HOST:-elws}.entrypoints=websecure | ||
- traefik.http.routers.${EL_WS_HOST:-elws}.rule=Host(`${EL_WS_HOST:-elws}.${DOMAIN}`) | ||
- traefik.http.routers.${EL_WS_HOST:-elws}.tls.certresolver=letsencrypt | ||
- traefik.http.routers.${EL_WS_HOST:-elws}lb.service=${EL_WS_HOST:-elws} | ||
- traefik.http.routers.${EL_WS_HOST:-elws}lb.entrypoints=websecure | ||
- traefik.http.routers.${EL_WS_HOST:-elws}lb.rule=Host(`${EL_WS_LB:-elws-lb}.${DOMAIN}`) | ||
- traefik.http.routers.${EL_WS_HOST:-elws}lb.tls.certresolver=letsencrypt | ||
- traefik.http.services.${EL_WS_HOST:-elws}.loadbalancer.server.port=${EL_WS_PORT:-8546} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.