Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
Croissant
How to let Cloudflare Tunnel use HTTP2 instead of QUIC?
^
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,384
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
C
Cyb3r-Jak3
•
7/11/23, 10:47 AM
You should be able to use the
—protocol
—protocol
flag in the tunnel run command to force it to be HTTP
/2 only
C
Cyb3r-Jak3
You should be able to use the `—protocol` flag in the tunnel run command to forc...
C
Croissant
OP
•
7/12/23, 1:41 AM
It works but how do set it as default instead having to specify the flag every time
?
C
Croissant
It works but how do set it as default instead having to specify the flag every t...
C
Cyb3r-Jak3
•
7/12/23, 1:45 AM
Tunnels default to quic over http2 for the their edge connections
. If you don
't want a flag then you can use an enviroment variable of
TUNNEL_TRANSPORT_PROTOCOL=http2
TUNNEL_TRANSPORT_PROTOCOL=http2
C
Croissant
OP
•
7/12/23, 1:48 AM
Thanks
!
!
—protocol
—protocol
TUNNEL_TRANSPORT_PROTOCOL=http2
TUNNEL_TRANSPORT_PROTOCOL=http2
Similar Threads
Cloudflare Tunnel Timeouts and QUIC Protocol Connection Issues
CD
Cloudflare Developers / general-help
5mo ago
Tunnel: http2: stream closed
CD
Cloudflare Developers / general-help
11mo ago
Cloudflare tunnel + docker, how to secure?
CD
Cloudflare Developers / general-help
2y ago
Cloudflare Tunnel
CD
Cloudflare Developers / general-help
10mo ago