You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most HTTP2 traffic is encrypted with TLS (known as H2).
Until now and with HTTP/1.1, it is Sōzu's job to:
decrypt HTTP frames that come in Layer 4
find out to which domain name they are intended on Layer 7
forward the decrypted HTTP frames
With the introduction of HTTP2, the question arises: will most backends support unencrypted HTTP2 traffic over TCP, also known as H2C? defined here
In other words: do most web servers and web frameworks support H2C?
Or should Sōzu re-encrypt HTTP2 traffic?
Update — 2026-04-24
Resolved by the design shipped on feat/h2-mux (PR #1209):
Frontend: TLS is terminated at Sōzu via rustls. ALPN advertises ["h2", "http/1.1"] (H2 preferred), so H2-capable clients negotiate h2 and H/1.1 clients fall back transparently.
Backend: defaults to H2C (cleartext) over TCP. cluster.http2 = true enables H2 towards the upstream without TLS wrapping. This matches the common deployment pattern where TLS terminates at the proxy and plaintext is used inside a trusted backend network.
Closing with the architectural answer. Sōzu uses the standard reverse-proxy model: terminate TLS at the frontend (rustls), reconnect to the backend (h1/h2/h2c, with TLS coming via #1218 in v2.1.0). There is no "re-encrypt the same TLS session" mode — that would require shared TLS keys with the backend, which is not how rustls/openssl is used. The opposite mode — pure SNI passthrough with no termination — is tracked separately in #151.
Activity
FlorentinDUBOIS commentedon May 2, 2026
Closing with the architectural answer. Sōzu uses the standard reverse-proxy model: terminate TLS at the frontend (rustls), reconnect to the backend (h1/h2/h2c, with TLS coming via #1218 in v2.1.0). There is no "re-encrypt the same TLS session" mode — that would require shared TLS keys with the backend, which is not how rustls/openssl is used. The opposite mode — pure SNI passthrough with no termination — is tracked separately in #151.