From fddd4ff7d2884f490191a3dd4aeefa63c9ff45ff Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Fri, 24 Nov 2023 23:19:58 +0100 Subject: [PATCH] Bump faf-ws-bridge to 0.1.4 and configure cloudflare proxy header --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1332aa5..9290383 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -70,7 +70,7 @@ services: # faf-ws-bridge: container_name: faf-ws-bridge - image: faforever/ws_bridge_rs:0.1.3 + image: faforever/ws_bridge_rs:0.1.4 user: rust networks: faf: @@ -79,7 +79,7 @@ services: restart: unless-stopped expose: - "8003" - command: ws_to_tcp -vvv --proxy faf-ws-bridge:8003 faf-python-server:8003 + command: ws_to_tcp -vvv --proxy faf-ws-bridge:8003 --proxy-header-name "CF-Connecting-IP" faf-python-server:8003 labels: - "traefik.enable=true" - "traefik.http.routers.faf-ws-bridge.rule=Host(`ws.${DOMAINNAME}`)"