maybe order matters

This commit is contained in:
Sebastian
2023-10-03 06:04:03 +02:00
parent 90951b9802
commit bbb68ff7c4

View File

@@ -33,13 +33,6 @@ services:
- chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.zkevm-stripprefix.stripprefix.prefixes=/zkevm"
- "traefik.http.services.zkevm.loadbalancer.server.port=8545"
- "traefik.http.routers.zkevm.entrypoints=websecure"
- "traefik.http.routers.zkevm.tls.certresolver=myresolver"
- "traefik.http.routers.zkevm.service=zkevm"
- "traefik.http.routers.zkevm.rule=Host(`$DOMAIN`) && PathPrefix(`/zkevm`)"
- "traefik.http.routers.zkevm.middlewares=zkevm-stripprefix, ipwhitelist"
- "traefik.http.middlewares.zkevm-ws-stripprefix.stripprefix.prefixes=/zkevm-ws"
- "traefik.http.services.zkevm-ws.loadbalancer.server.port=8546"
@@ -49,6 +42,14 @@ services:
- "traefik.http.routers.zkevm-ws.rule=Host(`$DOMAIN`) && PathPrefix(`/zkevm-ws`)"
- "traefik.http.routers.zkevm-ws.middlewares=zkevm-ws-stripprefix, ipwhitelist"
- "traefik.http.middlewares.zkevm-stripprefix.stripprefix.prefixes=/zkevm"
- "traefik.http.services.zkevm.loadbalancer.server.port=8545"
- "traefik.http.routers.zkevm.entrypoints=websecure"
- "traefik.http.routers.zkevm.tls.certresolver=myresolver"
- "traefik.http.routers.zkevm.service=zkevm"
- "traefik.http.routers.zkevm.rule=Host(`$DOMAIN`) && PathPrefix(`/zkevm`)"
- "traefik.http.routers.zkevm.middlewares=zkevm-stripprefix, ipwhitelist"
#- "prometheus-scrape.enabled=true"
#- "prometheus-scrape.port=6060"
#- "prometheus-scrape.job_name=zkevm"