I have a backend server that receives HTTP/1.1, HTTP/2.0 plaintext, grpc plaintext over HTTP/2.0 (no tls).
I want to use nginx to receive HTTP request from user (HTTP/1.1, HTTP/2, etc), and pass to backend, preserving HTTP version without using passthrough.
so, desired state is below.
1. client <-(HTTP/1.1 plaintext)-> nginx <-(HTTP/1.1 plaintext)-> backend
2. client <-(HTTP/2 plaintext)-> nginx <-(HTTP/2 plaintext)-> backend
3. client <-(grpc over HTTP/2 plaintext)-> nginx <-(grpc over HTTP/2 plaintext)-> backend
on a same ip, same port.
is this possible?