Proxying Streaming gRPC with Caddy

Caddy proxies gRPC streams quite easily.


reverse_proxy h2c://backend

gRPC uses HTTP/2 frames, so h2c:// ensures that cleartext HTTP/2 is enabled to the backend. Alternatively, you can enable TLS to the backend to support normal HTTP/2 over TLS.


A post was split to a new topic: Streaming gRPC over port 443

Indeed. This HN post is another post from our @Mohammed90 that goes into a bit more detail:

1 Like

That’s the post I was looking for!! Thanks for the link @gcss .

1 Like