Module ngx_stream_realip_module

The ngx_stream_realip_module module is used to change the client address and port to the ones sent in the PROXY protocol header (1.11.4). The PROXY protocol must be previously enabled by setting the proxy_protocol parameter in the listen directive.

This module is not built by default, it should be enabled with the --with-stream_realip_module configuration parameter.

set_real_ip_from

Syntax: set_real_ip_from address | CIDR | unix:;

2017-02-09 07:09:14