Page 1 of 1

Howto enable use-proxy-protocol on nginx

Posted: Thu Oct 19, 2017 11:26 am
by simred
Hi,
we use zcs ose 8.7.11. We use haproxy as a load balancer (tcp mode) for https/imaps/pops protocols to zimbra proxies. In the /opt/zimbra/log/nginx.log I'm unable to see the client IP address but only the haproxy IP as the caller. I know I can have the clent IP address logged in proxys log if I enable "use-proxy-protocol" on nginx. How can I set use-proxy-protocol on nginx proxy?

Tnx & br