Hello Team,
I am writing regarding case #04090820.
1) Customer Environment Details:
The current setup is as follows:
Web Browser <==> Nginx Load Balancer (v1.24) <==> TCP Stream <==> Upstream Hosts
2) Issue:
The environment is configured to use a TCP stream with proxy_protocol on. However, the upstream servers are receiving traffic with Proxy Protocol version 1, which they are unable to parse, resulting in the rejection of incoming requests.
3) Reproduction Attempt:
I attempted to reproduce the issue and successfully observed Proxy Protocol V2 with Nginx version 1.24 using the following test setup:
Browser (Normal HTTP Request) → HAProxy (PPv2 Request) → Nginx_1 → Nginx_2
4) Our Clarification to the Customer:
We have explained that Nginx cannot enforce a conversion from Proxy Protocol v1 to v2 for incoming requests. The protocol version used is determined by the originating sender (e.g., a load balancer or proxy). Nginx must match the incoming version to interpret and process the request headers correctly.
5) Customer's current request:
When this patch https://github.com/dedok/nginx-stream-proxy-protocol-v2/blob/main/stream-proxy-protocol-v2-release-1.19.8.patch helps to do the conversion of V1 to V2 protocol to the upstream servers, will we get any such update from Red Hat to serve that case ??
Hence, I want to know if providing a patch like this is possible for us, or if this is a valid request to open an RFE?