Howto enable use-proxy-protocol on nginx

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Posts: 45
Joined: Wed Jun 28, 2017 9:40 am

Howto enable use-proxy-protocol on nginx

Postby simred » Thu Oct 19, 2017 11:26 am

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 20 guests