make the websocket accessible
This commit is contained in:
@@ -25,8 +25,16 @@ services:
|
|||||||
- "traefik.http.services.avalanche.loadbalancer.server.port=9650"
|
- "traefik.http.services.avalanche.loadbalancer.server.port=9650"
|
||||||
- "traefik.http.routers.avalanche.entrypoints=websecure"
|
- "traefik.http.routers.avalanche.entrypoints=websecure"
|
||||||
- "traefik.http.routers.avalanche.tls.certresolver=myresolver"
|
- "traefik.http.routers.avalanche.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.avalanche.rule=Host(`$DOMAIN`) && PathPrefix(`/avalanche-archive`)"
|
|
||||||
- "traefik.http.routers.avalanche.middlewares=avalanche-stripprefix, avalanche-replacepath, ipwhitelist"
|
- "traefik.http.routers.avalanche.middlewares=avalanche-stripprefix, avalanche-replacepath, ipwhitelist"
|
||||||
|
|
||||||
|
- "traefik.http.middlewares.avalanche-ws-replacepath.replacepath.path=/ext/bc/C/ws"
|
||||||
|
- "traefik.http.middlewares.avalanche-ws-stripprefix.stripprefix.prefixes=/avalanche-archive-ws"
|
||||||
|
- "traefik.http.services.avalanche-ws.loadbalancer.server.port=9650"
|
||||||
|
- "traefik.http.routers.avalanche-ws.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.avalanche-ws.tls.certresolver=myresolver"
|
||||||
|
- "traefik.http.routers.avalanche-ws.rule=Host(`$DOMAIN`) && PathPrefix(`/avalanche-archive/ws`)"
|
||||||
|
- "traefik.http.routers.avalanche-ws.middlewares=avalanche-ws-stripprefix, avalanche-ws-replacepath, ipwhitelist"
|
||||||
|
|
||||||
- "prometheus-scrape.enabled=true"
|
- "prometheus-scrape.enabled=true"
|
||||||
- "prometheus-scrape.port=9650"
|
- "prometheus-scrape.port=9650"
|
||||||
- "prometheus-scrape.job_name=avalanche-archive"
|
- "prometheus-scrape.job_name=avalanche-archive"
|
||||||
|
|||||||
Reference in New Issue
Block a user