Azure added its own extension to proxy protocol v2 PP2_TYPE_AZURE (0xEE) - https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#getting-connection-information-using-tcp-proxy-v2by proxyuser - Nginx Mailing List - English
I am using ngx_stream with ssl_preread_module. The $ssl_preread_server_name variable is used in the proxy_pass directive. Nginx is behind NLB in AWS and receives v2 of the protocol with Amazon's own extension - PP2_TYPE_AWS - https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol The problem I am running into is the fact nginx does not paby proxyuser - Nginx Mailing List - English