Skip to content
Discussion options

You must be logged in to vote

When using load balancers and/or reverse proxies you have two connections happening: the downstream and the upstream.
The browser connects to the balancer/proxy (downstream) using the available protocol (both ALB and nginx support HTTP/2), then the balancer/proxy talks to your application (upstream) using a separated HTTP connection.

Thus, with uvicorn the proxy will use HTTP/1.1, with Hypercorn or servers supporting HTTP/2 it might use that version to talk to the upstream (if instructed to do so).

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@sandeep12rana
Comment options

@gi0baro
Comment options

Answer selected by sandeep12rana
Comment options

You must be logged in to vote
2 replies
@jabberwock
Comment options

@nggit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants