Proxy Protocol for IMAP and POP3

idfariz nginx-forum at forum.nginx.org
Wed Jan 3 04:58:35 UTC 2018


Hello all,


Currently we do load balancing for NGINX server that included in Zimbra as
Proxy services with HAPROXY.


but as we see in nginx's log access file all incoming source IP was logged
as HaProxy's IP, 

the question in how we configure nginx to show client's origin IP instead of
HaProx's for IMAP and POP3 (mail) ?

Note: there is solution using Proxy Protocol
(https://www.nginx.com/resources/admin-guide/proxy-protocol/) but it's 
available for http and stream only.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277972,277972#msg-277972



More information about the nginx mailing list