=encoding utf-8 =head1 NAME ngx_mail_realip_module - Module ngx_mail_realip_module =head1 The C module is used to change the client address and port to the ones sent in the PROXY protocol header (1.19.8). The PROXY protocol must be previously enabled by setting the L parameter in the C directive. =head1 Example Configuration listen 110 proxy_protocol; set_real_ip_from 192.168.1.0/24; set_real_ip_from 192.168.2.1; set_real_ip_from 2001:0db8::/32; =head1 Directives =head2 set_real_ip_from B set_real_ip_from I< I> E I> E C> B I B I Defines trusted addresses that are known to send correct replacement addresses. If the special value C is specified, all UNIX-domain sockets will be trusted.