Problems with PROXY_PROTOCOL in ngx_stream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Problems with PROXY_PROTOCOL in ngx_stream

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 -

The problem I am running into is the fact nginx does not pass the original
proxy_protocol header so the upstreams can not see the PP2_TYPE_AWS field
from the original header.  Any advice?

Posted at Nginx Forum:,285581,285581#msg-285581

nginx mailing list
[hidden email]