Re: Proxy Protocol for IMAP and POP3

2018-01-03 Thread Alexander Naumann
Hello, you could use "set_real_ip_from 'IP from LB';" http://nginx.org/en/docs/http/ngx_http_realip_module.html -- Alexander Naumann - Ursprüngliche Mail - Von: "idfariz" An: nginx@nginx.org Gesendet: Mittwoch, 3. Januar 2018 05:58:35 Betreff: Pr

Proxy Protocol for IMAP and POP3

2018-01-02 Thread idfariz
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