fix: cloudflared over http2 (TCP) — QUIC datagrams stall on the degraded upstream

This commit is contained in:
glass beadian 2026-10-17 16:53:51 +00:00
parent 7776569cf1
commit adaa621129

View file

@ -191,7 +191,9 @@ services:
cloudflared:
image: cloudflare/cloudflared:latest
command: ["tunnel", "--no-autoupdate", "run", "--token", "${CLOUDFLARE_TUNNEL_TOKEN:?}"]
# http2 (TCP) instead of QUIC: the upstream drops UDP/large datagrams,
# which stalls tunnel responses. Revisit if the path heals.
command: ["tunnel", "--no-autoupdate", "--protocol", "http2", "run", "--token", "${CLOUDFLARE_TUNNEL_TOKEN:?}"]
restart: unless-stopped
volumes: