nginx_tcp_proxy_module icon indicating copy to clipboard operation
nginx_tcp_proxy_module copied to clipboard

Upstream Proxy Protocol support

Open chendo opened this issue 10 years ago • 1 comments

We'd like the upstream servers to be notified of the original IP and port that the client connection is coming from. Currently, we're using HAProxy and its accept-proxy v1 support.

The spec is defined here: http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt

nginx already supports proxy_protocol inside the listen directive, but that is only for if something else is proxying in front of nginx.

chendo avatar Feb 09 '15 03:02 chendo

I've hacked together this feature in https://github.com/yaoweibin/nginx_tcp_proxy_module/pull/110, but it needs significant cleanup.

chendo avatar Feb 10 '15 05:02 chendo